public final class LocationMetadata extends GeneratedMessageV3 implements LocationMetadataOrBuilder
Metadata about the service in a location.
Protobuf type google.cloud.metastore.v1beta.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int SUPPORTED_HIVE_METASTORE_VERSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static LocationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static LocationMetadata.Builder newBuilder()
public static LocationMetadata.Builder newBuilder(LocationMetadata prototype)
public static LocationMetadata parseDelimitedFrom(InputStream input)
public static LocationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static LocationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LocationMetadata parseFrom(ByteString data)
public static LocationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocationMetadata parseFrom(CodedInputStream input)
public static LocationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationMetadata parseFrom(InputStream input)
public static LocationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationMetadata parseFrom(ByteBuffer data)
public static LocationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<LocationMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public LocationMetadata getDefaultInstanceForType()
public Parser<LocationMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public LocationMetadata.HiveMetastoreVersion getSupportedHiveMetastoreVersions(int index)
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion
in the list will set is_default
.
repeated .google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter |
---|
Name | Description |
index | int
|
public int getSupportedHiveMetastoreVersionsCount()
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion
in the list will set is_default
.
repeated .google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns |
---|
Type | Description |
int | |
public List<LocationMetadata.HiveMetastoreVersion> getSupportedHiveMetastoreVersionsList()
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion
in the list will set is_default
.
repeated .google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
public LocationMetadata.HiveMetastoreVersionOrBuilder getSupportedHiveMetastoreVersionsOrBuilder(int index)
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion
in the list will set is_default
.
repeated .google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends LocationMetadata.HiveMetastoreVersionOrBuilder> getSupportedHiveMetastoreVersionsOrBuilderList()
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion
in the list will set is_default
.
repeated .google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersionOrBuilder> | |
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LocationMetadata.Builder newBuilderForType()
protected LocationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public LocationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides