Class ScheduleOptionsV2

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsV2
All Implemented Interfaces:
ScheduleOptionsV2OrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ScheduleOptionsV2 extends com.google.protobuf.GeneratedMessage implements ScheduleOptionsV2OrBuilder
 V2 options customizing different types of data transfer schedule.
 This field supports existing time-based and manual transfer schedule. Also
 supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used
 together with ScheduleOptions/Schedule.
 
Protobuf type google.cloud.bigquery.datatransfer.v1.ScheduleOptionsV2
See Also:
  • Field Details

    • TIME_BASED_SCHEDULE_FIELD_NUMBER

      public static final int TIME_BASED_SCHEDULE_FIELD_NUMBER
      See Also:
    • MANUAL_SCHEDULE_FIELD_NUMBER

      public static final int MANUAL_SCHEDULE_FIELD_NUMBER
      See Also:
    • EVENT_DRIVEN_SCHEDULE_FIELD_NUMBER

      public static final int EVENT_DRIVEN_SCHEDULE_FIELD_NUMBER
      See Also:
  • 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
    • getScheduleCase

      public ScheduleOptionsV2.ScheduleCase getScheduleCase()
      Specified by:
      getScheduleCase in interface ScheduleOptionsV2OrBuilder
    • hasTimeBasedSchedule

      public boolean hasTimeBasedSchedule()
       Time based transfer schedule options. This is the default schedule
       option.
       
      .google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
      Specified by:
      hasTimeBasedSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      Whether the timeBasedSchedule field is set.
    • getTimeBasedSchedule

      public TimeBasedSchedule getTimeBasedSchedule()
       Time based transfer schedule options. This is the default schedule
       option.
       
      .google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
      Specified by:
      getTimeBasedSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      The timeBasedSchedule.
    • getTimeBasedScheduleOrBuilder

      public TimeBasedScheduleOrBuilder getTimeBasedScheduleOrBuilder()
       Time based transfer schedule options. This is the default schedule
       option.
       
      .google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
      Specified by:
      getTimeBasedScheduleOrBuilder in interface ScheduleOptionsV2OrBuilder
    • hasManualSchedule

      public boolean hasManualSchedule()
       Manual transfer schedule. If set, the transfer run will not be
       auto-scheduled by the system, unless the client invokes
       StartManualTransferRuns.  This is equivalent to
       disable_auto_scheduling = true.
       
      .google.cloud.bigquery.datatransfer.v1.ManualSchedule manual_schedule = 2;
      Specified by:
      hasManualSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      Whether the manualSchedule field is set.
    • getManualSchedule

      public ManualSchedule getManualSchedule()
       Manual transfer schedule. If set, the transfer run will not be
       auto-scheduled by the system, unless the client invokes
       StartManualTransferRuns.  This is equivalent to
       disable_auto_scheduling = true.
       
      .google.cloud.bigquery.datatransfer.v1.ManualSchedule manual_schedule = 2;
      Specified by:
      getManualSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      The manualSchedule.
    • getManualScheduleOrBuilder

      public ManualScheduleOrBuilder getManualScheduleOrBuilder()
       Manual transfer schedule. If set, the transfer run will not be
       auto-scheduled by the system, unless the client invokes
       StartManualTransferRuns.  This is equivalent to
       disable_auto_scheduling = true.
       
      .google.cloud.bigquery.datatransfer.v1.ManualSchedule manual_schedule = 2;
      Specified by:
      getManualScheduleOrBuilder in interface ScheduleOptionsV2OrBuilder
    • hasEventDrivenSchedule

      public boolean hasEventDrivenSchedule()
       Event driven transfer schedule options. If set, the transfer will be
       scheduled upon events arrial.
       
      .google.cloud.bigquery.datatransfer.v1.EventDrivenSchedule event_driven_schedule = 3;
      Specified by:
      hasEventDrivenSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      Whether the eventDrivenSchedule field is set.
    • getEventDrivenSchedule

      public EventDrivenSchedule getEventDrivenSchedule()
       Event driven transfer schedule options. If set, the transfer will be
       scheduled upon events arrial.
       
      .google.cloud.bigquery.datatransfer.v1.EventDrivenSchedule event_driven_schedule = 3;
      Specified by:
      getEventDrivenSchedule in interface ScheduleOptionsV2OrBuilder
      Returns:
      The eventDrivenSchedule.
    • getEventDrivenScheduleOrBuilder

      public EventDrivenScheduleOrBuilder getEventDrivenScheduleOrBuilder()
       Event driven transfer schedule options. If set, the transfer will be
       scheduled upon events arrial.
       
      .google.cloud.bigquery.datatransfer.v1.EventDrivenSchedule event_driven_schedule = 3;
      Specified by:
      getEventDrivenScheduleOrBuilder in interface ScheduleOptionsV2OrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScheduleOptionsV2 parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScheduleOptionsV2 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleOptionsV2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ScheduleOptionsV2.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ScheduleOptionsV2.Builder newBuilder()
    • newBuilder

      public static ScheduleOptionsV2.Builder newBuilder(ScheduleOptionsV2 prototype)
    • toBuilder

      public ScheduleOptionsV2.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ScheduleOptionsV2.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ScheduleOptionsV2 getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ScheduleOptionsV2> parser()
    • getParserForType

      public com.google.protobuf.Parser<ScheduleOptionsV2> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ScheduleOptionsV2 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder