Class DeleteDataSourceDefinitionRequest (2.40.0)

public final class DeleteDataSourceDefinitionRequest extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DeleteDataSourceDefinitionRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeleteDataSourceDefinitionRequest getDefaultInstance()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest

getDescriptor()

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

newBuilder()

public static DeleteDataSourceDefinitionRequest.Builder newBuilder()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

newBuilder(DeleteDataSourceDefinitionRequest prototype)

public static DeleteDataSourceDefinitionRequest.Builder newBuilder(DeleteDataSourceDefinitionRequest prototype)
Parameter
NameDescription
prototypeDeleteDataSourceDefinitionRequest
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

parseDelimitedFrom(InputStream input)

public static DeleteDataSourceDefinitionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeleteDataSourceDefinitionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteDataSourceDefinitionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteDataSourceDefinitionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeleteDataSourceDefinitionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeleteDataSourceDefinitionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteDataSourceDefinitionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteDataSourceDefinitionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeleteDataSourceDefinitionRequest> parser()
Returns
TypeDescription
Parser<DeleteDataSourceDefinitionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeleteDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest

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

getParserForType()

public Parser<DeleteDataSourceDefinitionRequest> getParserForType()
Returns
TypeDescription
Parser<DeleteDataSourceDefinitionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeleteDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteDataSourceDefinitionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder
Overrides

toBuilder()

public DeleteDataSourceDefinitionRequest.Builder toBuilder()
Returns
TypeDescription
DeleteDataSourceDefinitionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException