Class UpdateTransferRunRequest (2.21.0)

public final class UpdateTransferRunRequest extends GeneratedMessageV3 implements UpdateTransferRunRequestOrBuilder

A request to update a transfer run.

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

Static Fields

TRANSFER_RUN_FIELD_NUMBER

public static final int TRANSFER_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateTransferRunRequest getDefaultInstance()
Returns
TypeDescription
UpdateTransferRunRequest

getDescriptor()

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

newBuilder()

public static UpdateTransferRunRequest.Builder newBuilder()
Returns
TypeDescription
UpdateTransferRunRequest.Builder

newBuilder(UpdateTransferRunRequest prototype)

public static UpdateTransferRunRequest.Builder newBuilder(UpdateTransferRunRequest prototype)
Parameter
NameDescription
prototypeUpdateTransferRunRequest
Returns
TypeDescription
UpdateTransferRunRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateTransferRunRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateTransferRunRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateTransferRunRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateTransferRunRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateTransferRunRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateTransferRunRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransferRunRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateTransferRunRequest> parser()
Returns
TypeDescription
Parser<UpdateTransferRunRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateTransferRunRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTransferRunRequest

getParserForType()

public Parser<UpdateTransferRunRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateTransferRunRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateTransferRunRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateTransferRunRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateTransferRunRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateTransferRunRequest.Builder
Overrides

toBuilder()

public UpdateTransferRunRequest.Builder toBuilder()
Returns
TypeDescription
UpdateTransferRunRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException