Class HiveMetastoreConfig.Builder (2.5.0)

public static final class HiveMetastoreConfig.Builder extends GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder> implements HiveMetastoreConfigOrBuilder

Specifies configuration information specific to running Hive metastore software as the metastore service.

Protobuf type google.cloud.metastore.v1beta.HiveMetastoreConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HiveMetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

build()

public HiveMetastoreConfig build()
Returns
TypeDescription
HiveMetastoreConfig

buildPartial()

public HiveMetastoreConfig buildPartial()
Returns
TypeDescription
HiveMetastoreConfig

clear()

public HiveMetastoreConfig.Builder clear()
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

clearConfigOverrides()

public HiveMetastoreConfig.Builder clearConfigOverrides()
Returns
TypeDescription
HiveMetastoreConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public HiveMetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

clearKerberosConfig()

public HiveMetastoreConfig.Builder clearKerberosConfig()

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;

Returns
TypeDescription
HiveMetastoreConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public HiveMetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

clearVersion()

public HiveMetastoreConfig.Builder clearVersion()

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
HiveMetastoreConfig.Builder

This builder for chaining.

clone()

public HiveMetastoreConfig.Builder clone()
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

containsConfigOverrides(String key)

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
NameDescription
keyString
Returns
TypeDescription
boolean

getConfigOverrides()

public Map<String,String> getConfigOverrides()
Returns
TypeDescription
Map<String,String>

getConfigOverridesCount()

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
TypeDescription
int

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).

map<string, string> config_overrides = 2;

Returns
TypeDescription
Map<String,String>

getConfigOverridesOrDefault(String key, String defaultValue)

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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getConfigOverridesOrThrow(String key)

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
NameDescription
keyString
Returns
TypeDescription
String

getDefaultInstanceForType()

public HiveMetastoreConfig getDefaultInstanceForType()
Returns
TypeDescription
HiveMetastoreConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
KerberosConfig

The kerberosConfig.

getKerberosConfigBuilder()

public KerberosConfig.Builder getKerberosConfigBuilder()

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;

Returns
TypeDescription
KerberosConfig.Builder

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;

Returns
TypeDescription
KerberosConfigOrBuilder

getMutableConfigOverrides()

public Map<String,String> getMutableConfigOverrides()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getVersion()

public String getVersion()

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for version.

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;

Returns
TypeDescription
boolean

Whether the kerberosConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HiveMetastoreConfig other)

public HiveMetastoreConfig.Builder mergeFrom(HiveMetastoreConfig other)
Parameter
NameDescription
otherHiveMetastoreConfig
Returns
TypeDescription
HiveMetastoreConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HiveMetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HiveMetastoreConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

mergeKerberosConfig(KerberosConfig value)

public HiveMetastoreConfig.Builder mergeKerberosConfig(KerberosConfig value)

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;

Parameter
NameDescription
valueKerberosConfig
Returns
TypeDescription
HiveMetastoreConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HiveMetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

putAllConfigOverrides(Map<String,String> values)

public HiveMetastoreConfig.Builder putAllConfigOverrides(Map<String,String> values)

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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
HiveMetastoreConfig.Builder

putConfigOverrides(String key, String value)

public HiveMetastoreConfig.Builder putConfigOverrides(String key, String value)

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
NameDescription
keyString
valueString
Returns
TypeDescription
HiveMetastoreConfig.Builder

removeConfigOverrides(String key)

public HiveMetastoreConfig.Builder removeConfigOverrides(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
NameDescription
keyString
Returns
TypeDescription
HiveMetastoreConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HiveMetastoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

setKerberosConfig(KerberosConfig value)

public HiveMetastoreConfig.Builder setKerberosConfig(KerberosConfig value)

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;

Parameter
NameDescription
valueKerberosConfig
Returns
TypeDescription
HiveMetastoreConfig.Builder

setKerberosConfig(KerberosConfig.Builder builderForValue)

public HiveMetastoreConfig.Builder setKerberosConfig(KerberosConfig.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueKerberosConfig.Builder
Returns
TypeDescription
HiveMetastoreConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HiveMetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HiveMetastoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HiveMetastoreConfig.Builder
Overrides

setVersion(String value)

public HiveMetastoreConfig.Builder setVersion(String value)

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
HiveMetastoreConfig.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public HiveMetastoreConfig.Builder setVersionBytes(ByteString value)

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
HiveMetastoreConfig.Builder

This builder for chaining.