Class UpdateTransferRunRequest.Builder (2.27.0)

public static final class UpdateTransferRunRequest.Builder extends GeneratedMessageV3.Builder<UpdateTransferRunRequest.Builder> implements UpdateTransferRunRequestOrBuilder

A request to update a transfer run.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTransferRunRequest build()
Returns
TypeDescription
UpdateTransferRunRequest

buildPartial()

public UpdateTransferRunRequest buildPartial()
Returns
TypeDescription
UpdateTransferRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransferRun()

public UpdateTransferRunRequest.Builder clearTransferRun()

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Returns
TypeDescription
UpdateTransferRunRequest.Builder

clearUpdateMask()

public UpdateTransferRunRequest.Builder clearUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateTransferRunRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateTransferRunRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTransferRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTransferRun()

public TransferRun getTransferRun()

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Returns
TypeDescription
TransferRun

getTransferRunBuilder()

public TransferRun.Builder getTransferRunBuilder()

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Returns
TypeDescription
TransferRun.Builder

getTransferRunOrBuilder()

public TransferRunOrBuilder getTransferRunOrBuilder()

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Returns
TypeDescription
TransferRunOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasTransferRun()

public boolean hasTransferRun()

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Returns
TypeDescription
boolean

hasUpdateMask()

public boolean hasUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateTransferRunRequest other)

public UpdateTransferRunRequest.Builder mergeFrom(UpdateTransferRunRequest other)
Parameter
NameDescription
otherUpdateTransferRunRequest
Returns
TypeDescription
UpdateTransferRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTransferRun(TransferRun value)

public UpdateTransferRunRequest.Builder mergeTransferRun(TransferRun value)

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Parameter
NameDescription
valueTransferRun
Returns
TypeDescription
UpdateTransferRunRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTransferRunRequest.Builder mergeUpdateMask(FieldMask value)

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTransferRunRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTransferRun(TransferRun value)

public UpdateTransferRunRequest.Builder setTransferRun(TransferRun value)

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Parameter
NameDescription
valueTransferRun
Returns
TypeDescription
UpdateTransferRunRequest.Builder

setTransferRun(TransferRun.Builder builderForValue)

public UpdateTransferRunRequest.Builder setTransferRun(TransferRun.Builder builderForValue)

Run name must be set and correspond to an already existing run. Only state, error_status, and data_version fields will be updated. All other fields will be ignored.

.google.cloud.bigquery.datatransfer.v1.TransferRun transfer_run = 1;

Parameter
NameDescription
builderForValueTransferRun.Builder
Returns
TypeDescription
UpdateTransferRunRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTransferRunRequest.Builder setUpdateMask(FieldMask value)

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTransferRunRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTransferRunRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateTransferRunRequest.Builder