public final class HiveMetastoreConfig extends GeneratedMessageV3 implements HiveMetastoreConfigOrBuilder
Specifies configuration information specific to running Hive metastore
software as the metastore service.
Protobuf type google.events.cloud.metastore.v1.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 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 prototype)
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.events.cloud.metastore.v1.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
|
Overrides
public 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.events.cloud.metastore.v1.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.events.cloud.metastore.v1.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.events.cloud.metastore.v1.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.events.cloud.metastore.v1.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;
Returns |
Type |
Description |
String |
|
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
|
Returns |
Type |
Description |
String |
|
public HiveMetastoreConfig getDefaultInstanceForType()
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.events.cloud.metastore.v1.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.events.cloud.metastore.v1.KerberosConfig kerberos_config = 3;
public Parser<HiveMetastoreConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
public String getVersion()
Immutable. The Hive metastore schema version.
string version = 1;
Returns |
Type |
Description |
String |
The version.
|
public ByteString getVersionBytes()
Immutable. The Hive metastore schema version.
string version = 1;
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.events.cloud.metastore.v1.KerberosConfig kerberos_config = 3;
Returns |
Type |
Description |
boolean |
Whether the kerberosConfig field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public HiveMetastoreConfig.Builder newBuilderForType()
protected HiveMetastoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public HiveMetastoreConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides