Class GetTransferRunRequest.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class GetTransferRunRequest.Builder extends GeneratedMessageV3.Builder<GetTransferRunRequest.Builder> implements GetTransferRunRequestOrBuilder

A request to get data transfer run information.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTransferRunRequest build()
Returns
TypeDescription
GetTransferRunRequest

buildPartial()

public GetTransferRunRequest buildPartial()
Returns
TypeDescription
GetTransferRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetTransferRunRequest.Builder clearName()

Required. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetTransferRunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetTransferRunRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTransferRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTransferRunRequest other)

public GetTransferRunRequest.Builder mergeFrom(GetTransferRunRequest other)
Parameter
NameDescription
otherGetTransferRunRequest
Returns
TypeDescription
GetTransferRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetTransferRunRequest.Builder setName(String value)

Required. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetTransferRunRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetTransferRunRequest.Builder setNameBytes(ByteString value)

Required. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetTransferRunRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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