Class LocationMetadata.HiveMetastoreVersion.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.HiveMetastoreVersion.Builder>
com.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion.Builder
All Implemented Interfaces:
LocationMetadata.HiveMetastoreVersionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LocationMetadata.HiveMetastoreVersion

public static final class LocationMetadata.HiveMetastoreVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocationMetadata.HiveMetastoreVersion.Builder> implements LocationMetadata.HiveMetastoreVersionOrBuilder
 A specification of a supported version of the Hive Metastore software.
 
Protobuf type google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion
  • 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.HiveMetastoreVersion.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.HiveMetastoreVersion.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.HiveMetastoreVersion.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LocationMetadata.HiveMetastoreVersion.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.HiveMetastoreVersion.Builder>
    • mergeFrom

    • isInitialized

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

      public LocationMetadata.HiveMetastoreVersion.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.HiveMetastoreVersion.Builder>
      Throws:
      IOException
    • getVersion

      public String getVersion()
       The semantic version of the Hive Metastore software.
       
      string version = 1;
      Specified by:
      getVersion in interface LocationMetadata.HiveMetastoreVersionOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The semantic version of the Hive Metastore software.
       
      string version = 1;
      Specified by:
      getVersionBytes in interface LocationMetadata.HiveMetastoreVersionOrBuilder
      Returns:
      The bytes for version.
    • setVersion

       The semantic version of the Hive Metastore software.
       
      string version = 1;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

       The semantic version of the Hive Metastore software.
       
      string version = 1;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public LocationMetadata.HiveMetastoreVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The semantic version of the Hive Metastore software.
       
      string version = 1;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getIsDefault

      public boolean getIsDefault()
       Whether `version` will be chosen by the server if a metastore service is
       created with a `HiveMetastoreConfig` that omits the `version`.
       
      bool is_default = 2;
      Specified by:
      getIsDefault in interface LocationMetadata.HiveMetastoreVersionOrBuilder
      Returns:
      The isDefault.
    • setIsDefault

      public LocationMetadata.HiveMetastoreVersion.Builder setIsDefault(boolean value)
       Whether `version` will be chosen by the server if a metastore service is
       created with a `HiveMetastoreConfig` that omits the `version`.
       
      bool is_default = 2;
      Parameters:
      value - The isDefault to set.
      Returns:
      This builder for chaining.
    • clearIsDefault

       Whether `version` will be chosen by the server if a metastore service is
       created with a `HiveMetastoreConfig` that omits the `version`.
       
      bool is_default = 2;
      Returns:
      This builder for chaining.