Class BackendMetastore (2.36.0)

public final class BackendMetastore extends GeneratedMessageV3 implements BackendMetastoreOrBuilder

Represents a backend metastore for the federation.

Protobuf type google.cloud.metastore.v1alpha.BackendMetastore

Static Fields

METASTORE_TYPE_FIELD_NUMBER

public static final int METASTORE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackendMetastore getDefaultInstance()
Returns
TypeDescription
BackendMetastore

getDescriptor()

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

newBuilder()

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

newBuilder(BackendMetastore prototype)

public static BackendMetastore.Builder newBuilder(BackendMetastore prototype)
Parameter
NameDescription
prototypeBackendMetastore
Returns
TypeDescription
BackendMetastore.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BackendMetastore getDefaultInstanceForType()
Returns
TypeDescription
BackendMetastore

getMetastoreType()

public BackendMetastore.MetastoreType getMetastoreType()

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Returns
TypeDescription
BackendMetastore.MetastoreType

The metastoreType.

getMetastoreTypeValue()

public int getMetastoreTypeValue()

The type of the backend metastore.

.google.cloud.metastore.v1alpha.BackendMetastore.MetastoreType metastore_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for metastoreType.

getName()

public String getName()

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:

  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 BackendMetastore.Builder newBuilderForType()
Returns
TypeDescription
BackendMetastore.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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