public final class ScheduleOptionsV2 extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EVENT_DRIVEN_SCHEDULE_FIELD_NUMBER
public static final int EVENT_DRIVEN_SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MANUAL_SCHEDULE_FIELD_NUMBER
public static final int MANUAL_SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_BASED_SCHEDULE_FIELD_NUMBER
public static final int TIME_BASED_SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ScheduleOptionsV2 getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ScheduleOptionsV2.Builder newBuilder()
newBuilder(ScheduleOptionsV2 prototype)
public static ScheduleOptionsV2.Builder newBuilder(ScheduleOptionsV2 prototype)
public static ScheduleOptionsV2 parseDelimitedFrom(InputStream input)
public static ScheduleOptionsV2 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ScheduleOptionsV2 parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScheduleOptionsV2 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ScheduleOptionsV2 parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduleOptionsV2 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduleOptionsV2 parseFrom(CodedInputStream input)
public static ScheduleOptionsV2 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScheduleOptionsV2 parseFrom(InputStream input)
public static ScheduleOptionsV2 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ScheduleOptionsV2 parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScheduleOptionsV2 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ScheduleOptionsV2> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ScheduleOptionsV2 getDefaultInstanceForType()
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;
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;
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;
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;
getParserForType()
public Parser<ScheduleOptionsV2> getParserForType()
Overrides
getScheduleCase()
public ScheduleOptionsV2.ScheduleCase getScheduleCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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;
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;
Returns |
Type |
Description |
boolean |
Whether the eventDrivenSchedule field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the manualSchedule field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the timeBasedSchedule field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ScheduleOptionsV2.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScheduleOptionsV2.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ScheduleOptionsV2.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides