Class DeleteTransferRunRequest.Builder (2.2.6)

public static final class DeleteTransferRunRequest.Builder extends GeneratedMessageV3.Builder<DeleteTransferRunRequest.Builder> implements DeleteTransferRunRequestOrBuilder

A request to delete data transfer run information.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteTransferRunRequest build()
Returns
TypeDescription
DeleteTransferRunRequest

buildPartial()

public DeleteTransferRunRequest buildPartial()
Returns
TypeDescription
DeleteTransferRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteTransferRunRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteTransferRunRequest

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(DeleteTransferRunRequest other)

public DeleteTransferRunRequest.Builder mergeFrom(DeleteTransferRunRequest other)
Parameter
NameDescription
otherDeleteTransferRunRequest
Returns
TypeDescription
DeleteTransferRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

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

This builder for chaining.

setNameBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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