Class ScheduleTransferRunsRequest.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScheduleTransferRunsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder
Overrides

build()

public ScheduleTransferRunsRequest build()
Returns
TypeDescription
ScheduleTransferRunsRequest

buildPartial()

public ScheduleTransferRunsRequest buildPartial()
Returns
TypeDescription
ScheduleTransferRunsRequest

clear()

public ScheduleTransferRunsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ScheduleTransferRunsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ScheduleTransferRunsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScheduleTransferRunsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ScheduleTransferRunsRequest.Builder

clone()

public ScheduleTransferRunsRequest.Builder clone()
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder
Overrides

getDefaultInstanceForType()

public ScheduleTransferRunsRequest getDefaultInstanceForType()
Returns
TypeDescription
ScheduleTransferRunsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder

mergeFrom(ScheduleTransferRunsRequest other)

public ScheduleTransferRunsRequest.Builder mergeFrom(ScheduleTransferRunsRequest other)
Parameter
NameDescription
otherScheduleTransferRunsRequest
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScheduleTransferRunsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ScheduleTransferRunsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleTransferRunsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ScheduleTransferRunsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleTransferRunsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScheduleTransferRunsRequest.Builder
Overrides