Class DeleteTransferConfigRequest.Builder (2.13.0)

public static final class DeleteTransferConfigRequest.Builder extends GeneratedMessageV3.Builder<DeleteTransferConfigRequest.Builder> implements DeleteTransferConfigRequestOrBuilder

A request to delete data transfer information. All associated transfer runs and log messages will be deleted as well.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteTransferConfigRequest build()
Returns
TypeDescription
DeleteTransferConfigRequest

buildPartial()

public DeleteTransferConfigRequest buildPartial()
Returns
TypeDescription
DeleteTransferConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteTransferConfigRequest.Builder clearName()

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

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

Returns
TypeDescription
DeleteTransferConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteTransferConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteTransferConfigRequest

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} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_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} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_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(DeleteTransferConfigRequest other)

public DeleteTransferConfigRequest.Builder mergeFrom(DeleteTransferConfigRequest other)
Parameter
NameDescription
otherDeleteTransferConfigRequest
Returns
TypeDescription
DeleteTransferConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteTransferConfigRequest.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteTransferConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTransferConfigRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteTransferConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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