Class ScheduleOptionsV2.Builder (2.54.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScheduleOptionsV2.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScheduleOptionsV2.Builder
Overrides

build()

public ScheduleOptionsV2 build()
Returns
Type Description
ScheduleOptionsV2

buildPartial()

public ScheduleOptionsV2 buildPartial()
Returns
Type Description
ScheduleOptionsV2

clear()

public ScheduleOptionsV2.Builder clear()
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Returns
Type Description
ScheduleOptionsV2.Builder

clearField(Descriptors.FieldDescriptor field)

public ScheduleOptionsV2.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Returns
Type Description
ScheduleOptionsV2.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ScheduleOptionsV2.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScheduleOptionsV2.Builder
Overrides

clearSchedule()

public ScheduleOptionsV2.Builder clearSchedule()
Returns
Type Description
ScheduleOptionsV2.Builder

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;

Returns
Type Description
ScheduleOptionsV2.Builder

clone()

public ScheduleOptionsV2.Builder clone()
Returns
Type Description
ScheduleOptionsV2.Builder
Overrides

getDefaultInstanceForType()

public ScheduleOptionsV2 getDefaultInstanceForType()
Returns
Type Description
ScheduleOptionsV2

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
EventDrivenSchedule

The eventDrivenSchedule.

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;

Returns
Type Description
EventDrivenSchedule.Builder

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;

Returns
Type Description
EventDrivenScheduleOrBuilder

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;

Returns
Type Description
ManualSchedule

The manualSchedule.

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;

Returns
Type Description
ManualSchedule.Builder

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;

Returns
Type Description
ManualScheduleOrBuilder

getScheduleCase()

public ScheduleOptionsV2.ScheduleCase getScheduleCase()
Returns
Type Description
ScheduleOptionsV2.ScheduleCase

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;

Returns
Type Description
TimeBasedSchedule

The timeBasedSchedule.

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;

Returns
Type Description
TimeBasedSchedule.Builder

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;

Returns
Type Description
TimeBasedScheduleOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

Parameter
Name Description
value EventDrivenSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

mergeFrom(ScheduleOptionsV2 other)

public ScheduleOptionsV2.Builder mergeFrom(ScheduleOptionsV2 other)
Parameter
Name Description
other ScheduleOptionsV2
Returns
Type Description
ScheduleOptionsV2.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScheduleOptionsV2.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduleOptionsV2.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScheduleOptionsV2.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Parameter
Name Description
value ManualSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

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;

Parameter
Name Description
value TimeBasedSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleOptionsV2.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Parameter
Name Description
value EventDrivenSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

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;

Parameter
Name Description
builderForValue EventDrivenSchedule.Builder
Returns
Type Description
ScheduleOptionsV2.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ScheduleOptionsV2.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Parameter
Name Description
value ManualSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

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;

Parameter
Name Description
builderForValue ManualSchedule.Builder
Returns
Type Description
ScheduleOptionsV2.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScheduleOptionsV2.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScheduleOptionsV2.Builder
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;

Parameter
Name Description
value TimeBasedSchedule
Returns
Type Description
ScheduleOptionsV2.Builder

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;

Parameter
Name Description
builderForValue TimeBasedSchedule.Builder
Returns
Type Description
ScheduleOptionsV2.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleOptionsV2.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScheduleOptionsV2.Builder
Overrides