Class DeleteTransferRunRequest.Builder (2.42.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteTransferRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

build()

public DeleteTransferRunRequest build()
Returns
Type Description
DeleteTransferRunRequest

buildPartial()

public DeleteTransferRunRequest buildPartial()
Returns
Type Description
DeleteTransferRunRequest

clear()

public DeleteTransferRunRequest.Builder clear()
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteTransferRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
DeleteTransferRunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteTransferRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

clone()

public DeleteTransferRunRequest.Builder clone()
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteTransferRunRequest getDefaultInstanceForType()
Returns
Type Description
DeleteTransferRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteTransferRunRequest other)

public DeleteTransferRunRequest.Builder mergeFrom(DeleteTransferRunRequest other)
Parameter
Name Description
other DeleteTransferRunRequest
Returns
Type Description
DeleteTransferRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteTransferRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteTransferRunRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTransferRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteTransferRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTransferRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteTransferRunRequest.Builder
Overrides