public static final class ScheduleOptions.Builder extends GeneratedMessageV3.Builder<ScheduleOptions.Builder> implements ScheduleOptionsOrBuilder
Options customizing the data transfer schedule.
Protobuf type google.cloud.bigquery.datatransfer.v1.ScheduleOptions
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScheduleOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ScheduleOptions build()
Returns
buildPartial()
public ScheduleOptions buildPartial()
Returns
clear()
public ScheduleOptions.Builder clear()
Returns
Overrides
clearDisableAutoScheduling()
public ScheduleOptions.Builder clearDisableAutoScheduling()
If true, automatic scheduling of data transfer runs for this configuration
will be disabled. The runs can be started on ad-hoc basis using
StartManualTransferRuns API. When automatic scheduling is disabled, the
TransferConfig.schedule field will be ignored.
bool disable_auto_scheduling = 3;
Returns
clearEndTime()
public ScheduleOptions.Builder clearEndTime()
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ScheduleOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScheduleOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTime()
public ScheduleOptions.Builder clearStartTime()
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Returns
clone()
public ScheduleOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ScheduleOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDisableAutoScheduling()
public boolean getDisableAutoScheduling()
If true, automatic scheduling of data transfer runs for this configuration
will be disabled. The runs can be started on ad-hoc basis using
StartManualTransferRuns API. When automatic scheduling is disabled, the
TransferConfig.schedule field will be ignored.
bool disable_auto_scheduling = 3;
Returns
Type | Description |
boolean | The disableAutoScheduling.
|
getEndTime()
public Timestamp getEndTime()
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Returns
getStartTime()
public Timestamp getStartTime()
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Returns
hasEndTime()
public boolean hasEndTime()
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndTime(Timestamp value)
public ScheduleOptions.Builder mergeEndTime(Timestamp value)
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
mergeFrom(ScheduleOptions other)
public ScheduleOptions.Builder mergeFrom(ScheduleOptions other)
Parameter
Returns
public ScheduleOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ScheduleOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStartTime(Timestamp value)
public ScheduleOptions.Builder mergeStartTime(Timestamp value)
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScheduleOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDisableAutoScheduling(boolean value)
public ScheduleOptions.Builder setDisableAutoScheduling(boolean value)
If true, automatic scheduling of data transfer runs for this configuration
will be disabled. The runs can be started on ad-hoc basis using
StartManualTransferRuns API. When automatic scheduling is disabled, the
TransferConfig.schedule field will be ignored.
bool disable_auto_scheduling = 3;
Parameter
Name | Description |
value | boolean
The disableAutoScheduling to set.
|
Returns
setEndTime(Timestamp value)
public ScheduleOptions.Builder setEndTime(Timestamp value)
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
setEndTime(Timestamp.Builder builderForValue)
public ScheduleOptions.Builder setEndTime(Timestamp.Builder builderForValue)
Defines time to stop scheduling transfer runs. A transfer run cannot be
scheduled at or after the end time. The end time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp end_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ScheduleOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScheduleOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTime(Timestamp value)
public ScheduleOptions.Builder setStartTime(Timestamp value)
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
setStartTime(Timestamp.Builder builderForValue)
public ScheduleOptions.Builder setStartTime(Timestamp.Builder builderForValue)
Specifies time to start scheduling transfer runs. The first run will be
scheduled at or after the start time according to a recurrence pattern
defined in the schedule string. The start time can be changed at any
moment. The time when a data transfer can be trigerred manually is not
limited by this option.
.google.protobuf.Timestamp start_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ScheduleOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides