Class DeleteDataSourceDefinitionRequest.Builder (2.46.0)

public static final class DeleteDataSourceDefinitionRequest.Builder extends GeneratedMessageV3.Builder<DeleteDataSourceDefinitionRequest.Builder> implements DeleteDataSourceDefinitionRequestOrBuilder

Represents the request of the DeleteDataSourceDefinition method. All transfer configs associated with the data source must be deleted first, before the data source can be deleted.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteDataSourceDefinitionRequest build()
Returns
Type Description
DeleteDataSourceDefinitionRequest

buildPartial()

public DeleteDataSourceDefinitionRequest buildPartial()
Returns
Type Description
DeleteDataSourceDefinitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteDataSourceDefinitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteDataSourceDefinitionRequest.Builder
Overrides

clearName()

public DeleteDataSourceDefinitionRequest.Builder clearName()

The field will contain name of the resource requested, for example: projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}

string name = 1;

Returns
Type Description
DeleteDataSourceDefinitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
Type Description
DeleteDataSourceDefinitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The field will contain name of the resource requested, for example: projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}

string name = 1;

Returns
Type Description
String

getNameBytes()

public ByteString getNameBytes()

The field will contain name of the resource requested, for example: projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}

string name = 1;

Returns
Type Description
ByteString

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteDataSourceDefinitionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteDataSourceDefinitionRequest.Builder setName(String value)

The field will contain name of the resource requested, for example: projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}

string name = 1;

Parameter
Name Description
value String
Returns
Type Description
DeleteDataSourceDefinitionRequest.Builder

setNameBytes(ByteString value)

public DeleteDataSourceDefinitionRequest.Builder setNameBytes(ByteString value)

The field will contain name of the resource requested, for example: projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}

string name = 1;

Parameter
Name Description
value ByteString
Returns
Type Description
DeleteDataSourceDefinitionRequest.Builder

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

public DeleteDataSourceDefinitionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteDataSourceDefinitionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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