Class LocationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
- com.google.cloud.metastore.v1alpha.LocationMetadata.Builder
-
- All Implemented Interfaces:
LocationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LocationMetadata
public static final class LocationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
Metadata about the service in a location.
Protobuf typegoogle.cloud.metastore.v1alpha.LocationMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationMetadata.BuilderaddAllSupportedHiveMetastoreVersions(Iterable<? extends LocationMetadata.HiveMetastoreVersion> values)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LocationMetadata.BuilderaddSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion value)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuilderaddSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion.Builder builderForValue)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuilderaddSupportedHiveMetastoreVersions(LocationMetadata.HiveMetastoreVersion value)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuilderaddSupportedHiveMetastoreVersions(LocationMetadata.HiveMetastoreVersion.Builder builderForValue)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.HiveMetastoreVersion.BuilderaddSupportedHiveMetastoreVersionsBuilder()The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.HiveMetastoreVersion.BuilderaddSupportedHiveMetastoreVersionsBuilder(int index)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadatabuild()LocationMetadatabuildPartial()LocationMetadata.Builderclear()LocationMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LocationMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LocationMetadata.BuilderclearSupportedHiveMetastoreVersions()The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.Builderclone()LocationMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LocationMetadata.HiveMetastoreVersiongetSupportedHiveMetastoreVersions(int index)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.HiveMetastoreVersion.BuildergetSupportedHiveMetastoreVersionsBuilder(int index)The versions of Hive Metastore that can be used when creating a new metastore service in this location.List<LocationMetadata.HiveMetastoreVersion.Builder>getSupportedHiveMetastoreVersionsBuilderList()The versions of Hive Metastore that can be used when creating a new metastore service in this location.intgetSupportedHiveMetastoreVersionsCount()The versions of Hive Metastore that can be used when creating a new metastore service in this location.List<LocationMetadata.HiveMetastoreVersion>getSupportedHiveMetastoreVersionsList()The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.HiveMetastoreVersionOrBuildergetSupportedHiveMetastoreVersionsOrBuilder(int index)The versions of Hive Metastore that can be used when creating a new metastore service in this location.List<? extends LocationMetadata.HiveMetastoreVersionOrBuilder>getSupportedHiveMetastoreVersionsOrBuilderList()The versions of Hive Metastore that can be used when creating a new metastore service in this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LocationMetadata.BuildermergeFrom(LocationMetadata other)LocationMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LocationMetadata.BuildermergeFrom(com.google.protobuf.Message other)LocationMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LocationMetadata.BuilderremoveSupportedHiveMetastoreVersions(int index)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LocationMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LocationMetadata.BuildersetSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion value)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuildersetSupportedHiveMetastoreVersions(int index, LocationMetadata.HiveMetastoreVersion.Builder builderForValue)The versions of Hive Metastore that can be used when creating a new metastore service in this location.LocationMetadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
clear
public LocationMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
getDefaultInstanceForType
public LocationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LocationMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LocationMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LocationMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
setField
public LocationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
clearField
public LocationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
clearOneof
public LocationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
setRepeatedField
public LocationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
addRepeatedField
public LocationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
mergeFrom
public LocationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>
-
mergeFrom
public LocationMetadata.Builder mergeFrom(LocationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
mergeFrom
public LocationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>- Throws:
IOException
-
getSupportedHiveMetastoreVersionsList
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;- Specified by:
getSupportedHiveMetastoreVersionsListin interfaceLocationMetadataOrBuilder
-
getSupportedHiveMetastoreVersionsCount
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;- Specified by:
getSupportedHiveMetastoreVersionsCountin interfaceLocationMetadataOrBuilder
-
getSupportedHiveMetastoreVersions
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;- Specified by:
getSupportedHiveMetastoreVersionsin interfaceLocationMetadataOrBuilder
-
setSupportedHiveMetastoreVersions
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;
-
setSupportedHiveMetastoreVersions
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;
-
addSupportedHiveMetastoreVersions
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;
-
addSupportedHiveMetastoreVersions
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;
-
addSupportedHiveMetastoreVersions
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;
-
addSupportedHiveMetastoreVersions
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;
-
addAllSupportedHiveMetastoreVersions
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;
-
clearSupportedHiveMetastoreVersions
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;
-
removeSupportedHiveMetastoreVersions
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;
-
getSupportedHiveMetastoreVersionsBuilder
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;
-
getSupportedHiveMetastoreVersionsOrBuilder
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;- Specified by:
getSupportedHiveMetastoreVersionsOrBuilderin interfaceLocationMetadataOrBuilder
-
getSupportedHiveMetastoreVersionsOrBuilderList
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;- Specified by:
getSupportedHiveMetastoreVersionsOrBuilderListin interfaceLocationMetadataOrBuilder
-
addSupportedHiveMetastoreVersionsBuilder
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;
-
addSupportedHiveMetastoreVersionsBuilder
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;
-
getSupportedHiveMetastoreVersionsBuilderList
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;
-
setUnknownFields
public final LocationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
mergeUnknownFields
public final LocationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationMetadata.Builder>
-
-