Class LocationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
com.google.cloud.metastore.v1beta.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.GeneratedMessage.Builder<LocationMetadata.Builder> implements LocationMetadataOrBuilder
 Metadata about the service in a location.
 
Protobuf type google.cloud.metastore.v1beta.LocationMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • clear

      public LocationMetadata.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • getDefaultInstanceForType

      public LocationMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public LocationMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LocationMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationMetadata.Builder>
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(LocationMetadata other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.Builder>
    • mergeFrom

      public LocationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
      Specified by:
      getSupportedHiveMetastoreVersionsList in interface LocationMetadataOrBuilder
    • 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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
      Specified by:
      getSupportedHiveMetastoreVersionsCount in interface LocationMetadataOrBuilder
    • 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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
      Specified by:
      getSupportedHiveMetastoreVersions in interface LocationMetadataOrBuilder
    • 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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
      Specified by:
      getSupportedHiveMetastoreVersionsOrBuilder in interface LocationMetadataOrBuilder
    • 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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;
      Specified by:
      getSupportedHiveMetastoreVersionsOrBuilderList in interface LocationMetadataOrBuilder
    • 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.v1beta.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.v1beta.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.v1beta.LocationMetadata.HiveMetastoreVersion supported_hive_metastore_versions = 1;