Class QueryMetadataRequest (2.33.0)

public final class QueryMetadataRequest extends GeneratedMessageV3 implements QueryMetadataRequestOrBuilder

Request message for DataprocMetastore.QueryMetadata.

Protobuf type google.cloud.metastore.v1.QueryMetadataRequest

Static Fields

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryMetadataRequest getDefaultInstance()
Returns
TypeDescription
QueryMetadataRequest

getDescriptor()

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

newBuilder()

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

newBuilder(QueryMetadataRequest prototype)

public static QueryMetadataRequest.Builder newBuilder(QueryMetadataRequest prototype)
Parameter
NameDescription
prototypeQueryMetadataRequest
Returns
TypeDescription
QueryMetadataRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public QueryMetadataRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryMetadataRequest

getParserForType()

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

getQuery()

public String getQuery()

Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for query.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public String getService()

Required. The relative resource name of the metastore service to query metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

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

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. The relative resource name of the metastore service to query metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

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

Returns
TypeDescription
ByteString

The bytes for service.

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 QueryMetadataRequest.Builder newBuilderForType()
Returns
TypeDescription
QueryMetadataRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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