public final class HiveMetastoreConfig extends GeneratedMessageV3 implements HiveMetastoreConfigOrBuilder
Specifies configuration information specific to running Hive metastore software as the metastore service.
Protobuf type google.cloud.metastore.v1alpha.HiveMetastoreConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int AUXILIARY_VERSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CONFIG_OVERRIDES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ENDPOINT_PROTOCOL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int KERBEROS_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static HiveMetastoreConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static HiveMetastoreConfig.Builder newBuilder()
public static HiveMetastoreConfig.Builder newBuilder(HiveMetastoreConfig )
public static HiveMetastoreConfig parseDelimitedFrom(InputStream input)
public static HiveMetastoreConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HiveMetastoreConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static HiveMetastoreConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HiveMetastoreConfig parseFrom(ByteString data)
public static HiveMetastoreConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HiveMetastoreConfig parseFrom(CodedInputStream input)
public static HiveMetastoreConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HiveMetastoreConfig parseFrom(InputStream input)
public static HiveMetastoreConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HiveMetastoreConfig parseFrom(ByteBuffer data)
public static HiveMetastoreConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<HiveMetastoreConfig> parser()
Methods
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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter |
---|
Name | Description |
key | String
|
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;
Parameter |
---|
Name | Description |
key | String
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overridespublic Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
public int getAuxiliaryVersionsCount()
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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Returns |
---|
Type | Description |
int | |
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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter |
---|
Name | Description |
key | String
|
public Map<String,String> getConfigOverrides()
public int getConfigOverridesCount()
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;
Returns |
---|
Type | Description |
int | |
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;
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;
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;
Parameter |
---|
Name | Description |
key | String
|
public HiveMetastoreConfig getDefaultInstanceForType()
public HiveMetastoreConfig.EndpointProtocol getEndpointProtocol()
The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
public int getEndpointProtocolValue()
The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for endpointProtocol. |
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.v1alpha.KerberosConfig kerberos_config = 3;
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.v1alpha.KerberosConfig kerberos_config = 3;
public Parser<HiveMetastoreConfig> getParserForType()
Overridespublic int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overridespublic String getVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
String | The version. |
public ByteString getVersionBytes()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
ByteString | The bytes for version. |
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.v1alpha.KerberosConfig kerberos_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the kerberosConfig field is set. |
Returns |
---|
Type | Description |
int | |
Overridesprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overridesprotected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overridescom.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overridespublic HiveMetastoreConfig.Builder newBuilderForType()
protected HiveMetastoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overridesprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overridespublic HiveMetastoreConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides