public static final class LocationMetadata.Builder extends GeneratedMessageV3.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
Metadata about the service in a location.
Protobuf type google.cloud.metastore.v1alpha.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.metastore.v1alpha.LocationMetadata.HiveMetastoreVersion>
|
Returns
public LocationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameters
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameters
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
public LocationMetadata build()
Returns
public LocationMetadata buildPartial()
Returns
public LocationMetadata.Builder clear()
Returns
Overrides
public LocationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public LocationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
public LocationMetadata.Builder clone()
Returns
Overrides
public LocationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.metastore.v1alpha.LocationMetadata.HiveMetastoreVersionOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public LocationMetadata.Builder mergeFrom(LocationMetadata other)
Parameter
Returns
public LocationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public LocationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final LocationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameter
Returns
public LocationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public LocationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameters
Returns
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.v1alpha.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
Parameters
Returns
public final LocationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides