Class StartManualTransferRunsRequest.Builder (2.7.0)

public static final class StartManualTransferRunsRequest.Builder extends GeneratedMessageV3.Builder<StartManualTransferRunsRequest.Builder> implements StartManualTransferRunsRequestOrBuilder

A request to start manual transfer runs.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartManualTransferRunsRequest build()
Returns
TypeDescription
StartManualTransferRunsRequest

buildPartial()

public StartManualTransferRunsRequest buildPartial()
Returns
TypeDescription
StartManualTransferRunsRequest

clear()

public StartManualTransferRunsRequest.Builder clear()
Returns
TypeDescription
StartManualTransferRunsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StartManualTransferRunsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StartManualTransferRunsRequest.Builder
Overrides

clearParent()

public StartManualTransferRunsRequest.Builder clearParent()

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.resource_reference) = { ... }

Returns
TypeDescription
StartManualTransferRunsRequest.Builder

This builder for chaining.

clearRequestedRunTime()

public StartManualTransferRunsRequest.Builder clearRequestedRunTime()

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
TypeDescription
StartManualTransferRunsRequest.Builder

clearRequestedTimeRange()

public StartManualTransferRunsRequest.Builder clearRequestedTimeRange()

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Returns
TypeDescription
StartManualTransferRunsRequest.Builder

clearTime()

public StartManualTransferRunsRequest.Builder clearTime()
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

clone()

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

getDefaultInstanceForType()

public StartManualTransferRunsRequest getDefaultInstanceForType()
Returns
TypeDescription
StartManualTransferRunsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

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.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestedRunTime()

public Timestamp getRequestedRunTime()

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
TypeDescription
Timestamp

The requestedRunTime.

getRequestedRunTimeBuilder()

public Timestamp.Builder getRequestedRunTimeBuilder()

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
TypeDescription
Builder

getRequestedRunTimeOrBuilder()

public TimestampOrBuilder getRequestedRunTimeOrBuilder()

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getRequestedTimeRange()

public StartManualTransferRunsRequest.TimeRange getRequestedTimeRange()

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Returns
TypeDescription
StartManualTransferRunsRequest.TimeRange

The requestedTimeRange.

getRequestedTimeRangeBuilder()

public StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder()

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Returns
TypeDescription
StartManualTransferRunsRequest.TimeRange.Builder

getRequestedTimeRangeOrBuilder()

public StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder()

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Returns
TypeDescription
StartManualTransferRunsRequest.TimeRangeOrBuilder

getTimeCase()

public StartManualTransferRunsRequest.TimeCase getTimeCase()
Returns
TypeDescription
StartManualTransferRunsRequest.TimeCase

hasRequestedRunTime()

public boolean hasRequestedRunTime()

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
TypeDescription
boolean

Whether the requestedRunTime field is set.

hasRequestedTimeRange()

public boolean hasRequestedTimeRange()

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Returns
TypeDescription
boolean

Whether the requestedTimeRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StartManualTransferRunsRequest other)

public StartManualTransferRunsRequest.Builder mergeFrom(StartManualTransferRunsRequest other)
Parameter
NameDescription
otherStartManualTransferRunsRequest
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StartManualTransferRunsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StartManualTransferRunsRequest.Builder
Overrides

mergeRequestedRunTime(Timestamp value)

public StartManualTransferRunsRequest.Builder mergeRequestedRunTime(Timestamp value)

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

mergeRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

public StartManualTransferRunsRequest.Builder mergeRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Parameter
NameDescription
valueStartManualTransferRunsRequest.TimeRange
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartManualTransferRunsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartManualTransferRunsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public StartManualTransferRunsRequest.Builder setParent(String value)

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.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
StartManualTransferRunsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public StartManualTransferRunsRequest.Builder setParentBytes(ByteString value)

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.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
StartManualTransferRunsRequest.Builder

This builder for chaining.

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

public StartManualTransferRunsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StartManualTransferRunsRequest.Builder
Overrides

setRequestedRunTime(Timestamp value)

public StartManualTransferRunsRequest.Builder setRequestedRunTime(Timestamp value)

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

setRequestedRunTime(Timestamp.Builder builderForValue)

public StartManualTransferRunsRequest.Builder setRequestedRunTime(Timestamp.Builder builderForValue)

Specific run_time for a transfer run to be started. The requested_run_time must not be in the future.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

public StartManualTransferRunsRequest.Builder setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Parameter
NameDescription
valueStartManualTransferRunsRequest.TimeRange
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange.Builder builderForValue)

public StartManualTransferRunsRequest.Builder setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange.Builder builderForValue)

Time range for the transfer runs that should be started.

.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;

Parameter
NameDescription
builderForValueStartManualTransferRunsRequest.TimeRange.Builder
Returns
TypeDescription
StartManualTransferRunsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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