public final class QueryMetadataRequest extends GeneratedMessageV3 implements QueryMetadataRequestOrBuilder
Request message for
DataprocMetastore.QueryMetadata.
Protobuf type google.cloud.metastore.v1beta.QueryMetadataRequest
Static Fields
public static final int QUERY_FIELD_NUMBER
Field Value
public static final int SERVICE_FIELD_NUMBER
Field Value
Static Methods
public static QueryMetadataRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static QueryMetadataRequest.Builder newBuilder()
Returns
public static QueryMetadataRequest.Builder newBuilder(QueryMetadataRequest prototype)
Parameter
Returns
public static QueryMetadataRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueryMetadataRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryMetadataRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static QueryMetadataRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryMetadataRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static QueryMetadataRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryMetadataRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static QueryMetadataRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryMetadataRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueryMetadataRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryMetadataRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static QueryMetadataRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<QueryMetadataRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public QueryMetadataRequest getDefaultInstanceForType()
Returns
public Parser<QueryMetadataRequest> getParserForType()
Returns
Overrides
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
Type | Description |
String | The query.
|
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
public int getSerializedSize()
Returns
Overrides
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
Type | Description |
String | The service.
|
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
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public QueryMetadataRequest.Builder newBuilderForType()
Returns
protected QueryMetadataRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public QueryMetadataRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions