Class Schedule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder>
com.google.privacy.dlp.v2.Schedule.Builder
All Implemented Interfaces:
ScheduleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Schedule

public static final class Schedule.Builder extends com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder> implements ScheduleOrBuilder
 Schedule for inspect job triggers.
 
Protobuf type google.privacy.dlp.v2.Schedule
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    With this option a job is started on a regular periodic basis.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    com.google.protobuf.Duration
    With this option a job is started on a regular periodic basis.
    com.google.protobuf.Duration.Builder
    With this option a job is started on a regular periodic basis.
    com.google.protobuf.DurationOrBuilder
    With this option a job is started on a regular periodic basis.
    boolean
    With this option a job is started on a regular periodic basis.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
    With this option a job is started on a regular periodic basis.
    setRecurrencePeriodDuration(com.google.protobuf.Duration value)
    With this option a job is started on a regular periodic basis.
    setRecurrencePeriodDuration(com.google.protobuf.Duration.Builder builderForValue)
    With this option a job is started on a regular periodic basis.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder>
    • clear

      public Schedule.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder>
    • getDefaultInstanceForType

      public Schedule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Schedule build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Schedule buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Schedule.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schedule.Builder>
    • mergeFrom

      public Schedule.Builder mergeFrom(Schedule other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Schedule.Builder>
    • mergeFrom

      public Schedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Schedule.Builder>
      Throws:
      IOException
    • getOptionCase

      public Schedule.OptionCase getOptionCase()
      Specified by:
      getOptionCase in interface ScheduleOrBuilder
    • clearOption

      public Schedule.Builder clearOption()
    • hasRecurrencePeriodDuration

      public boolean hasRecurrencePeriodDuration()
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
      Specified by:
      hasRecurrencePeriodDuration in interface ScheduleOrBuilder
      Returns:
      Whether the recurrencePeriodDuration field is set.
    • getRecurrencePeriodDuration

      public com.google.protobuf.Duration getRecurrencePeriodDuration()
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
      Specified by:
      getRecurrencePeriodDuration in interface ScheduleOrBuilder
      Returns:
      The recurrencePeriodDuration.
    • setRecurrencePeriodDuration

      public Schedule.Builder setRecurrencePeriodDuration(com.google.protobuf.Duration value)
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
    • setRecurrencePeriodDuration

      public Schedule.Builder setRecurrencePeriodDuration(com.google.protobuf.Duration.Builder builderForValue)
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
    • mergeRecurrencePeriodDuration

      public Schedule.Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
    • clearRecurrencePeriodDuration

      public Schedule.Builder clearRecurrencePeriodDuration()
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
    • getRecurrencePeriodDurationBuilder

      public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
    • getRecurrencePeriodDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder()
       With this option a job is started on a regular periodic basis. For
       example: every day (86400 seconds).
      
       A scheduled start time will be skipped if the previous
       execution has not ended when its scheduled time occurs.
      
       This value must be set to a time duration greater than or equal
       to 1 day and can be no longer than 60 days.
       
      .google.protobuf.Duration recurrence_period_duration = 1;
      Specified by:
      getRecurrencePeriodDurationOrBuilder in interface ScheduleOrBuilder