public static final class LocationMetadata.Builder extends GeneratedMessage.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
Metadata about the service in a location.
Protobuf type google.cloud.metastore.v1beta.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public LocationMetadata.Builder addAllSupportedHiveMetastoreVersions(Iterable<? extends LocationMetadata.HiveMetastoreVersion> values)
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 |
values |
Iterable<? extends com.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion>
|
public LocationMetadata.Builder addSupportedHiveMetastoreVersions(LocationMetadata.HiveMetastoreVersion value)
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.Builder addSupportedHiveMetastoreVersions(LocationMetadata.HiveMetastoreVersion.Builder builderForValue)
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.Builder addSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion value)
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.Builder addSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion.Builder builderForValue)
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.HiveMetastoreVersion.Builder addSupportedHiveMetastoreVersionsBuilder()
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.HiveMetastoreVersion.Builder addSupportedHiveMetastoreVersionsBuilder(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 LocationMetadata build()
public LocationMetadata buildPartial()
public LocationMetadata.Builder clear()
Overrides
public LocationMetadata.Builder clearSupportedHiveMetastoreVersions()
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 getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 LocationMetadata.HiveMetastoreVersion.Builder getSupportedHiveMetastoreVersionsBuilder(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<LocationMetadata.HiveMetastoreVersion.Builder> getSupportedHiveMetastoreVersionsBuilderList()
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 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> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LocationMetadata.Builder mergeFrom(LocationMetadata other)
public LocationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public LocationMetadata.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public LocationMetadata.Builder removeSupportedHiveMetastoreVersions(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 LocationMetadata.Builder setSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion value)
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.Builder setSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion.Builder builderForValue)
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;