Class GetDataSourceDefinitionRequest

public final class GetDataSourceDefinitionRequest extends GeneratedMessageV3 implements GetDataSourceDefinitionRequestOrBuilder

Represents the request of the GetDataSourceDefinition method.

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

Inheritance

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetDataSourceDefinitionRequest getDefaultInstance()
Returns
TypeDescription
GetDataSourceDefinitionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetDataSourceDefinitionRequest prototype)

public static GetDataSourceDefinitionRequest.Builder newBuilder(GetDataSourceDefinitionRequest prototype)
Parameter
NameDescription
prototypeGetDataSourceDefinitionRequest
Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDataSourceDefinitionRequest

getName()

public String getName()

The field will contain name of the resource requested.

string name = 1;

Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()

The field will contain name of the resource requested.

string name = 1;

Returns
TypeDescription
ByteString

getParserForType()

public Parser<GetDataSourceDefinitionRequest> getParserForType()
Returns
TypeDescription
Parser<GetDataSourceDefinitionRequest>
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 GetDataSourceDefinitionRequest.Builder newBuilderForType()
Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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