Class StartManualTransferRunsRequest.Builder (2.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartManualTransferRunsRequest build()
Returns
Type Description
StartManualTransferRunsRequest

buildPartial()

public StartManualTransferRunsRequest buildPartial()
Returns
Type Description
StartManualTransferRunsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public StartManualTransferRunsRequest.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
StartManualTransferRunsRequest.Builder

This builder for chaining.

clearRequestedRunTime()

public StartManualTransferRunsRequest.Builder clearRequestedRunTime()

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
Type Description
StartManualTransferRunsRequest.Builder

clearRequestedTimeRange()

public StartManualTransferRunsRequest.Builder clearRequestedTimeRange()

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Returns
Type Description
StartManualTransferRunsRequest.Builder

clearTime()

public StartManualTransferRunsRequest.Builder clearTime()
Returns
Type Description
StartManualTransferRunsRequest.Builder

clone()

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

getDefaultInstanceForType()

public StartManualTransferRunsRequest getDefaultInstanceForType()
Returns
Type Description
StartManualTransferRunsRequest

getDescriptorForType()

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

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.

getRequestedRunTime()

public Timestamp getRequestedRunTime()

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
Type Description
Timestamp

The requestedRunTime.

getRequestedRunTimeBuilder()

public Timestamp.Builder getRequestedRunTimeBuilder()

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
Type Description
Builder

getRequestedRunTimeOrBuilder()

public TimestampOrBuilder getRequestedRunTimeOrBuilder()

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
Type Description
TimestampOrBuilder

getRequestedTimeRange()

public StartManualTransferRunsRequest.TimeRange getRequestedTimeRange()

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Returns
Type Description
StartManualTransferRunsRequest.TimeRange

The requestedTimeRange.

getRequestedTimeRangeBuilder()

public StartManualTransferRunsRequest.TimeRange.Builder getRequestedTimeRangeBuilder()

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Returns
Type Description
StartManualTransferRunsRequest.TimeRange.Builder

getRequestedTimeRangeOrBuilder()

public StartManualTransferRunsRequest.TimeRangeOrBuilder getRequestedTimeRangeOrBuilder()

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Returns
Type Description
StartManualTransferRunsRequest.TimeRangeOrBuilder

getTimeCase()

public StartManualTransferRunsRequest.TimeCase getTimeCase()
Returns
Type Description
StartManualTransferRunsRequest.TimeCase

hasRequestedRunTime()

public boolean hasRequestedRunTime()

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Returns
Type Description
boolean

Whether the requestedRunTime field is set.

hasRequestedTimeRange()

public boolean hasRequestedTimeRange()

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Returns
Type Description
boolean

Whether the requestedTimeRange field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartManualTransferRunsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRequestedRunTime(Timestamp value)

public StartManualTransferRunsRequest.Builder mergeRequestedRunTime(Timestamp value)

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
StartManualTransferRunsRequest.Builder

mergeRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

public StartManualTransferRunsRequest.Builder mergeRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Parameter
Name Description
value StartManualTransferRunsRequest.TimeRange
Returns
Type Description
StartManualTransferRunsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public StartManualTransferRunsRequest.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
StartManualTransferRunsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public StartManualTransferRunsRequest.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
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartManualTransferRunsRequest.Builder
Overrides

setRequestedRunTime(Timestamp value)

public StartManualTransferRunsRequest.Builder setRequestedRunTime(Timestamp value)

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
StartManualTransferRunsRequest.Builder

setRequestedRunTime(Timestamp.Builder builderForValue)

public StartManualTransferRunsRequest.Builder setRequestedRunTime(Timestamp.Builder builderForValue)

A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

.google.protobuf.Timestamp requested_run_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
StartManualTransferRunsRequest.Builder

setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

public StartManualTransferRunsRequest.Builder setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange value)

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Parameter
Name Description
value StartManualTransferRunsRequest.TimeRange
Returns
Type Description
StartManualTransferRunsRequest.Builder

setRequestedTimeRange(StartManualTransferRunsRequest.TimeRange.Builder builderForValue)

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

A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

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

Parameter
Name Description
builderForValue StartManualTransferRunsRequest.TimeRange.Builder
Returns
Type Description
StartManualTransferRunsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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