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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public HiveMetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public HiveMetastoreConfig build()
Returns
public HiveMetastoreConfig buildPartial()
Returns
public HiveMetastoreConfig.Builder clear()
Returns
Overrides
public HiveMetastoreConfig.Builder clearConfigOverrides()
Returns
public HiveMetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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.v1beta.KerberosConfig kerberos_config = 3;
Returns
public HiveMetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public HiveMetastoreConfig.Builder clearVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public HiveMetastoreConfig.Builder clone()
Returns
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).
map<string, string> config_overrides = 2;
Parameter
Returns
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 Descriptors.Descriptor getDescriptorForType()
Returns
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.v1beta.KerberosConfig kerberos_config = 3;
Returns
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
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
public Map<String,String> getMutableConfigOverrides()
Use alternate mutation accessors instead.
Returns
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.v1beta.KerberosConfig kerberos_config = 3;
Returns
Type | Description |
boolean | Whether the kerberosConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public HiveMetastoreConfig.Builder mergeFrom(HiveMetastoreConfig other)
Parameter
Returns
public HiveMetastoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public HiveMetastoreConfig.Builder mergeFrom(Message other)
Parameter
Returns
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.v1beta.KerberosConfig kerberos_config = 3;
Parameter
Returns
public final HiveMetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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).
map<string, string> config_overrides = 2;
Parameter
Returns
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
Returns
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
Returns
public HiveMetastoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1beta.KerberosConfig kerberos_config = 3;
Parameter
Returns
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
Returns
public HiveMetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final HiveMetastoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns