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.v1.HiveMetastoreConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public HiveMetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public HiveMetastoreConfig build()
public HiveMetastoreConfig buildPartial()
public HiveMetastoreConfig.Builder clear()
Overrides
public HiveMetastoreConfig.Builder clearConfigOverrides()
public HiveMetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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.v1.KerberosConfig kerberos_config = 3;
public HiveMetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public HiveMetastoreConfig.Builder clearVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
public HiveMetastoreConfig.Builder clone()
Overrides
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 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 Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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.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.cloud.metastore.v1.KerberosConfig kerberos_config = 3;
public Map<String,String> getMutableConfigOverrides()
Use alternate mutation accessors instead.
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 |
---|
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.v1.KerberosConfig kerberos_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the kerberosConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public HiveMetastoreConfig.Builder mergeFrom(HiveMetastoreConfig other)
public HiveMetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public HiveMetastoreConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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.v1.KerberosConfig kerberos_config = 3;
public final HiveMetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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). 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 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). 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 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). 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.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1.KerberosConfig kerberos_config = 3;
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.v1.KerberosConfig kerberos_config = 3;
public HiveMetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final HiveMetastoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public HiveMetastoreConfig.Builder setVersion(String value)
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter |
---|
Name | Description |
value | String
The version to set.
|
public HiveMetastoreConfig.Builder setVersionBytes(ByteString value)
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for version to set.
|