1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/privacy/dlp/v2/dlp.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface ScheduleOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Schedule) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * With this option a job is started on a regular periodic basis. For 31 * example: every day (86400 seconds). 32 * A scheduled start time will be skipped if the previous 33 * execution has not ended when its scheduled time occurs. 34 * This value must be set to a time duration greater than or equal 35 * to 1 day and can be no longer than 60 days. 36 * </pre> 37 * 38 * <code>.google.protobuf.Duration recurrence_period_duration = 1;</code> 39 * 40 * @return Whether the recurrencePeriodDuration field is set. 41 */ hasRecurrencePeriodDuration()42 boolean hasRecurrencePeriodDuration(); 43 /** 44 * 45 * 46 * <pre> 47 * With this option a job is started on a regular periodic basis. For 48 * example: every day (86400 seconds). 49 * A scheduled start time will be skipped if the previous 50 * execution has not ended when its scheduled time occurs. 51 * This value must be set to a time duration greater than or equal 52 * to 1 day and can be no longer than 60 days. 53 * </pre> 54 * 55 * <code>.google.protobuf.Duration recurrence_period_duration = 1;</code> 56 * 57 * @return The recurrencePeriodDuration. 58 */ getRecurrencePeriodDuration()59 com.google.protobuf.Duration getRecurrencePeriodDuration(); 60 /** 61 * 62 * 63 * <pre> 64 * With this option a job is started on a regular periodic basis. For 65 * example: every day (86400 seconds). 66 * A scheduled start time will be skipped if the previous 67 * execution has not ended when its scheduled time occurs. 68 * This value must be set to a time duration greater than or equal 69 * to 1 day and can be no longer than 60 days. 70 * </pre> 71 * 72 * <code>.google.protobuf.Duration recurrence_period_duration = 1;</code> 73 */ getRecurrencePeriodDurationOrBuilder()74 com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder(); 75 getOptionCase()76 public com.google.privacy.dlp.v2.Schedule.OptionCase getOptionCase(); 77 } 78