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.v1.HiveMetastoreConfig
Static Fields
public static final int CONFIG_OVERRIDES_FIELD_NUMBER
Field Value
public static final int KERBEROS_CONFIG_FIELD_NUMBER
Field Value
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
public static HiveMetastoreConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static HiveMetastoreConfig.Builder newBuilder()
Returns
public static HiveMetastoreConfig.Builder newBuilder(HiveMetastoreConfig prototype)
Parameter
Returns
public static HiveMetastoreConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HiveMetastoreConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static HiveMetastoreConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<HiveMetastoreConfig> parser()
Returns
Methods
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).
map<string, string> config_overrides = 2;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Map<String,String> getConfigOverrides()
Returns
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).
map<string, string> config_overrides = 2;
Returns
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).
map<string, string> config_overrides = 2;
Returns
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).
map<string, string> config_overrides = 2;
Parameters
Returns
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).
map<string, string> config_overrides = 2;
Parameter
Returns
public HiveMetastoreConfig getDefaultInstanceForType()
Returns
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.v1.KerberosConfig kerberos_config = 3;
Returns
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.v1.KerberosConfig kerberos_config = 3;
Returns
public Parser<HiveMetastoreConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public 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
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.v1.KerberosConfig kerberos_config = 3;
Returns
Type | Description |
boolean | Whether the kerberosConfig field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public HiveMetastoreConfig.Builder newBuilderForType()
Returns
protected HiveMetastoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public HiveMetastoreConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions