Class UpdateTransferRunRequest (2.47.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
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateTransferRunRequest getDefaultInstance()
Returns
Type Description
UpdateTransferRunRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateTransferRunRequest.Builder newBuilder()
Returns
Type Description
UpdateTransferRunRequest.Builder

newBuilder(UpdateTransferRunRequest prototype)

public static UpdateTransferRunRequest.Builder newBuilder(UpdateTransferRunRequest prototype)
Parameter
Name Description
prototype UpdateTransferRunRequest
Returns
Type Description
UpdateTransferRunRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateTransferRunRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateTransferRunRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateTransferRunRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateTransferRunRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateTransferRunRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateTransferRunRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateTransferRunRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransferRunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateTransferRunRequest> parser()
Returns
Type Description
Parser<UpdateTransferRunRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateTransferRunRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTransferRunRequest

getParserForType()

public Parser<UpdateTransferRunRequest> getParserForType()
Returns
Type Description
Parser<UpdateTransferRunRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
TransferRunOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
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
Type Description
boolean

hasUpdateMask()

public boolean hasUpdateMask()

Required list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateTransferRunRequest.Builder newBuilderForType()
Returns
Type Description
UpdateTransferRunRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateTransferRunRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateTransferRunRequest.Builder
Overrides

toBuilder()

public UpdateTransferRunRequest.Builder toBuilder()
Returns
Type Description
UpdateTransferRunRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException