public static final class ScheduleOptionsV2.Builder extends GeneratedMessageV3.Builder<ScheduleOptionsV2.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScheduleOptionsV2.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScheduleOptionsV2 build()
buildPartial()
public ScheduleOptionsV2 buildPartial()
clear()
public ScheduleOptionsV2.Builder clear()
Overrides
clearEventDrivenSchedule()
public ScheduleOptionsV2.Builder clearEventDrivenSchedule()
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;
clearField(Descriptors.FieldDescriptor field)
public ScheduleOptionsV2.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManualSchedule()
public ScheduleOptionsV2.Builder clearManualSchedule()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ScheduleOptionsV2.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSchedule()
public ScheduleOptionsV2.Builder clearSchedule()
clearTimeBasedSchedule()
public ScheduleOptionsV2.Builder clearTimeBasedSchedule()
Time based transfer schedule options. This is the default schedule
option.
.google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
clone()
public ScheduleOptionsV2.Builder clone()
Overrides
getDefaultInstanceForType()
public ScheduleOptionsV2 getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getEventDrivenScheduleBuilder()
public EventDrivenSchedule.Builder getEventDrivenScheduleBuilder()
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;
getManualScheduleBuilder()
public ManualSchedule.Builder getManualScheduleBuilder()
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;
getScheduleCase()
public ScheduleOptionsV2.ScheduleCase getScheduleCase()
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;
getTimeBasedScheduleBuilder()
public TimeBasedSchedule.Builder getTimeBasedScheduleBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEventDrivenSchedule(EventDrivenSchedule value)
public ScheduleOptionsV2.Builder mergeEventDrivenSchedule(EventDrivenSchedule value)
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;
mergeFrom(ScheduleOptionsV2 other)
public ScheduleOptionsV2.Builder mergeFrom(ScheduleOptionsV2 other)
public ScheduleOptionsV2.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScheduleOptionsV2.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeManualSchedule(ManualSchedule value)
public ScheduleOptionsV2.Builder mergeManualSchedule(ManualSchedule value)
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;
mergeTimeBasedSchedule(TimeBasedSchedule value)
public ScheduleOptionsV2.Builder mergeTimeBasedSchedule(TimeBasedSchedule value)
Time based transfer schedule options. This is the default schedule
option.
.google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScheduleOptionsV2.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEventDrivenSchedule(EventDrivenSchedule value)
public ScheduleOptionsV2.Builder setEventDrivenSchedule(EventDrivenSchedule value)
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;
setEventDrivenSchedule(EventDrivenSchedule.Builder builderForValue)
public ScheduleOptionsV2.Builder setEventDrivenSchedule(EventDrivenSchedule.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ScheduleOptionsV2.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setManualSchedule(ManualSchedule value)
public ScheduleOptionsV2.Builder setManualSchedule(ManualSchedule value)
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;
setManualSchedule(ManualSchedule.Builder builderForValue)
public ScheduleOptionsV2.Builder setManualSchedule(ManualSchedule.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScheduleOptionsV2.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimeBasedSchedule(TimeBasedSchedule value)
public ScheduleOptionsV2.Builder setTimeBasedSchedule(TimeBasedSchedule value)
Time based transfer schedule options. This is the default schedule
option.
.google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
setTimeBasedSchedule(TimeBasedSchedule.Builder builderForValue)
public ScheduleOptionsV2.Builder setTimeBasedSchedule(TimeBasedSchedule.Builder builderForValue)
Time based transfer schedule options. This is the default schedule
option.
.google.cloud.bigquery.datatransfer.v1.TimeBasedSchedule time_based_schedule = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ScheduleOptionsV2.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides