Class ScheduleTransferRunsRequest.Builder (2.48.0)

public static final class ScheduleTransferRunsRequest.Builder extends GeneratedMessageV3.Builder<ScheduleTransferRunsRequest.Builder> implements ScheduleTransferRunsRequestOrBuilder

A request to schedule transfer runs for a time range.

Protobuf type google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ScheduleTransferRunsRequest build()
Returns
Type Description
ScheduleTransferRunsRequest

buildPartial()

public ScheduleTransferRunsRequest buildPartial()
Returns
Type Description
ScheduleTransferRunsRequest

clear()

public ScheduleTransferRunsRequest.Builder clear()
Returns
Type Description
ScheduleTransferRunsRequest.Builder
Overrides

clearEndTime()

public ScheduleTransferRunsRequest.Builder clearEndTime()

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ScheduleTransferRunsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ScheduleTransferRunsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScheduleTransferRunsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ScheduleTransferRunsRequest.Builder clearParent()

Required. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ScheduleTransferRunsRequest.Builder

This builder for chaining.

clearStartTime()

public ScheduleTransferRunsRequest.Builder clearStartTime()

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ScheduleTransferRunsRequest.Builder

clone()

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

getDefaultInstanceForType()

public ScheduleTransferRunsRequest getDefaultInstanceForType()
Returns
Type Description
ScheduleTransferRunsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getParent()

public String getParent()

Required. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getStartTime()

public Timestamp getStartTime()

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ScheduleTransferRunsRequest.Builder mergeEndTime(Timestamp value)

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ScheduleTransferRunsRequest.Builder

mergeFrom(ScheduleTransferRunsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ScheduleTransferRunsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScheduleTransferRunsRequest.Builder
Overrides

mergeStartTime(Timestamp value)

public ScheduleTransferRunsRequest.Builder mergeStartTime(Timestamp value)

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ScheduleTransferRunsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleTransferRunsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScheduleTransferRunsRequest.Builder
Overrides

setEndTime(Timestamp value)

public ScheduleTransferRunsRequest.Builder setEndTime(Timestamp value)

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ScheduleTransferRunsRequest.Builder

setEndTime(Timestamp.Builder builderForValue)

public ScheduleTransferRunsRequest.Builder setEndTime(Timestamp.Builder builderForValue)

Required. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ScheduleTransferRunsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ScheduleTransferRunsRequest.Builder setParent(String value)

Required. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ScheduleTransferRunsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ScheduleTransferRunsRequest.Builder setParentBytes(ByteString value)

Required. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ScheduleTransferRunsRequest.Builder

This builder for chaining.

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

public ScheduleTransferRunsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScheduleTransferRunsRequest.Builder
Overrides

setStartTime(Timestamp value)

public ScheduleTransferRunsRequest.Builder setStartTime(Timestamp value)

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ScheduleTransferRunsRequest.Builder

setStartTime(Timestamp.Builder builderForValue)

public ScheduleTransferRunsRequest.Builder setStartTime(Timestamp.Builder builderForValue)

Required. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ScheduleTransferRunsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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