Class DeleteDataSourceDefinitionRequest.Builder (2.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteDataSourceDefinitionRequest build()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest

buildPartial()

public DeleteDataSourceDefinitionRequest buildPartial()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteDataSourceDefinitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteDataSourceDefinitionRequest other)

public DeleteDataSourceDefinitionRequest.Builder mergeFrom(DeleteDataSourceDefinitionRequest other)
Parameter
NameDescription
otherDeleteDataSourceDefinitionRequest
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteDataSourceDefinitionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString
Returns
TypeDescription
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
NameDescription
valueByteString
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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