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.v1beta.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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 addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.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 clearField(Descriptors.FieldDescriptor field)
Overrides
public LocationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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.Builder clone()
Overrides
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 GeneratedMessageV3.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 final LocationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public LocationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.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;
public final LocationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides