Class HiveMetastoreConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.metastore.v1beta.HiveMetastoreConfig
All Implemented Interfaces:
HiveMetastoreConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class HiveMetastoreConfig extends com.google.protobuf.GeneratedMessage implements HiveMetastoreConfigOrBuilder
 Specifies configuration information specific to running Hive metastore
 software as the metastore service.
 
Protobuf type google.cloud.metastore.v1beta.HiveMetastoreConfig
See Also:
  • Field Details

    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • CONFIG_OVERRIDES_FIELD_NUMBER

      public static final int CONFIG_OVERRIDES_FIELD_NUMBER
      See Also:
    • KERBEROS_CONFIG_FIELD_NUMBER

      public static final int KERBEROS_CONFIG_FIELD_NUMBER
      See Also:
    • ENDPOINT_PROTOCOL_FIELD_NUMBER

      public static final int ENDPOINT_PROTOCOL_FIELD_NUMBER
      See Also:
    • AUXILIARY_VERSIONS_FIELD_NUMBER

      public static final int AUXILIARY_VERSIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getVersion

      public String getVersion()
       Immutable. The Hive metastore schema version.
       
      string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVersion in interface HiveMetastoreConfigOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Immutable. The Hive metastore schema version.
       
      string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVersionBytes in interface HiveMetastoreConfigOrBuilder
      Returns:
      The bytes for version.
    • getConfigOverridesCount

      public int getConfigOverridesCount()
      Description copied from interface: HiveMetastoreConfigOrBuilder
       A mapping of Hive metastore configuration key-value pairs to apply to the
       Hive metastore (configured in `hive-site.xml`). The mappings
       override system defaults (some keys cannot be overridden). These
       overrides are also applied to auxiliary versions and can be further
       customized in the auxiliary version's `AuxiliaryVersionConfig`.
       
      map<string, string> config_overrides = 2;
      Specified by:
      getConfigOverridesCount in interface HiveMetastoreConfigOrBuilder
    • containsConfigOverrides

      public boolean containsConfigOverrides(String key)
       A mapping of Hive metastore configuration key-value pairs to apply to the
       Hive metastore (configured in `hive-site.xml`). The mappings
       override system defaults (some keys cannot be overridden). These
       overrides are also applied to auxiliary versions and can be further
       customized in the auxiliary version's `AuxiliaryVersionConfig`.
       
      map<string, string> config_overrides = 2;
      Specified by:
      containsConfigOverrides in interface HiveMetastoreConfigOrBuilder
    • getConfigOverrides

      @Deprecated public Map<String,String> getConfigOverrides()
      Deprecated.
      Specified by:
      getConfigOverrides in interface HiveMetastoreConfigOrBuilder
    • getConfigOverridesMap

      public Map<String,String> getConfigOverridesMap()
       A mapping of Hive metastore configuration key-value pairs to apply to the
       Hive metastore (configured in `hive-site.xml`). The mappings
       override system defaults (some keys cannot be overridden). These
       overrides are also applied to auxiliary versions and can be further
       customized in the auxiliary version's `AuxiliaryVersionConfig`.
       
      map<string, string> config_overrides = 2;
      Specified by:
      getConfigOverridesMap in interface HiveMetastoreConfigOrBuilder
    • getConfigOverridesOrDefault

      public String getConfigOverridesOrDefault(String key, String defaultValue)
       A mapping of Hive metastore configuration key-value pairs to apply to the
       Hive metastore (configured in `hive-site.xml`). The mappings
       override system defaults (some keys cannot be overridden). These
       overrides are also applied to auxiliary versions and can be further
       customized in the auxiliary version's `AuxiliaryVersionConfig`.
       
      map<string, string> config_overrides = 2;
      Specified by:
      getConfigOverridesOrDefault in interface HiveMetastoreConfigOrBuilder
    • getConfigOverridesOrThrow

      public String getConfigOverridesOrThrow(String key)
       A mapping of Hive metastore configuration key-value pairs to apply to the
       Hive metastore (configured in `hive-site.xml`). The mappings
       override system defaults (some keys cannot be overridden). These
       overrides are also applied to auxiliary versions and can be further
       customized in the auxiliary version's `AuxiliaryVersionConfig`.
       
      map<string, string> config_overrides = 2;
      Specified by:
      getConfigOverridesOrThrow in interface HiveMetastoreConfigOrBuilder
    • hasKerberosConfig

      public boolean hasKerberosConfig()
       Information used to configure the Hive metastore service as a service
       principal in a Kerberos realm. To disable Kerberos, use the `UpdateService`
       method and specify this field's path
       (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
       while omitting this field from the request's `service`.
       
      .google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;
      Specified by:
      hasKerberosConfig in interface HiveMetastoreConfigOrBuilder
      Returns:
      Whether the kerberosConfig field is set.
    • getKerberosConfig

      public KerberosConfig getKerberosConfig()
       Information used to configure the Hive metastore service as a service
       principal in a Kerberos realm. To disable Kerberos, use the `UpdateService`
       method and specify this field's path
       (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
       while omitting this field from the request's `service`.
       
      .google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;
      Specified by:
      getKerberosConfig in interface HiveMetastoreConfigOrBuilder
      Returns:
      The kerberosConfig.
    • getKerberosConfigOrBuilder

      public KerberosConfigOrBuilder getKerberosConfigOrBuilder()
       Information used to configure the Hive metastore service as a service
       principal in a Kerberos realm. To disable Kerberos, use the `UpdateService`
       method and specify this field's path
       (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
       while omitting this field from the request's `service`.
       
      .google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;
      Specified by:
      getKerberosConfigOrBuilder in interface HiveMetastoreConfigOrBuilder
    • getEndpointProtocolValue

      public int getEndpointProtocolValue()
       The protocol to use for the metastore service endpoint. If unspecified,
       defaults to `THRIFT`.
       
      .google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
      Specified by:
      getEndpointProtocolValue in interface HiveMetastoreConfigOrBuilder
      Returns:
      The enum numeric value on the wire for endpointProtocol.
    • getEndpointProtocol

      public HiveMetastoreConfig.EndpointProtocol getEndpointProtocol()
       The protocol to use for the metastore service endpoint. If unspecified,
       defaults to `THRIFT`.
       
      .google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
      Specified by:
      getEndpointProtocol in interface HiveMetastoreConfigOrBuilder
      Returns:
      The endpointProtocol.
    • getAuxiliaryVersionsCount

      public int getAuxiliaryVersionsCount()
      Description copied from interface: HiveMetastoreConfigOrBuilder
       A mapping of Hive metastore version to the auxiliary version
       configuration. When specified, a secondary Hive metastore service is
       created along with the primary service. All auxiliary versions must be less
       than the service's primary version. The key is the auxiliary service name
       and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
       means that the first character must be a lowercase letter, and all the
       following characters must be hyphens, lowercase letters, or digits, except
       the last character, which cannot be a hyphen.
       
      map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;
      Specified by:
      getAuxiliaryVersionsCount in interface HiveMetastoreConfigOrBuilder
    • containsAuxiliaryVersions

      public boolean containsAuxiliaryVersions(String key)
       A mapping of Hive metastore version to the auxiliary version
       configuration. When specified, a secondary Hive metastore service is
       created along with the primary service. All auxiliary versions must be less
       than the service's primary version. The key is the auxiliary service name
       and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
       means that the first character must be a lowercase letter, and all the
       following characters must be hyphens, lowercase letters, or digits, except
       the last character, which cannot be a hyphen.
       
      map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;
      Specified by:
      containsAuxiliaryVersions in interface HiveMetastoreConfigOrBuilder
    • getAuxiliaryVersions

      @Deprecated public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
      Deprecated.
      Specified by:
      getAuxiliaryVersions in interface HiveMetastoreConfigOrBuilder
    • getAuxiliaryVersionsMap

      public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersionsMap()
       A mapping of Hive metastore version to the auxiliary version
       configuration. When specified, a secondary Hive metastore service is
       created along with the primary service. All auxiliary versions must be less
       than the service's primary version. The key is the auxiliary service name
       and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
       means that the first character must be a lowercase letter, and all the
       following characters must be hyphens, lowercase letters, or digits, except
       the last character, which cannot be a hyphen.
       
      map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;
      Specified by:
      getAuxiliaryVersionsMap in interface HiveMetastoreConfigOrBuilder
    • getAuxiliaryVersionsOrDefault

      public AuxiliaryVersionConfig getAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue)
       A mapping of Hive metastore version to the auxiliary version
       configuration. When specified, a secondary Hive metastore service is
       created along with the primary service. All auxiliary versions must be less
       than the service's primary version. The key is the auxiliary service name
       and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
       means that the first character must be a lowercase letter, and all the
       following characters must be hyphens, lowercase letters, or digits, except
       the last character, which cannot be a hyphen.
       
      map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;
      Specified by:
      getAuxiliaryVersionsOrDefault in interface HiveMetastoreConfigOrBuilder
    • getAuxiliaryVersionsOrThrow

      public AuxiliaryVersionConfig getAuxiliaryVersionsOrThrow(String key)
       A mapping of Hive metastore version to the auxiliary version
       configuration. When specified, a secondary Hive metastore service is
       created along with the primary service. All auxiliary versions must be less
       than the service's primary version. The key is the auxiliary service name
       and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
       means that the first character must be a lowercase letter, and all the
       following characters must be hyphens, lowercase letters, or digits, except
       the last character, which cannot be a hyphen.
       
      map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;
      Specified by:
      getAuxiliaryVersionsOrThrow in interface HiveMetastoreConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static HiveMetastoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HiveMetastoreConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HiveMetastoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public HiveMetastoreConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HiveMetastoreConfig.Builder newBuilder()
    • newBuilder

      public static HiveMetastoreConfig.Builder newBuilder(HiveMetastoreConfig prototype)
    • toBuilder

      public HiveMetastoreConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HiveMetastoreConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HiveMetastoreConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HiveMetastoreConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<HiveMetastoreConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HiveMetastoreConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder