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.v1alpha.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 clearAuxiliaryVersions()
Returns
public HiveMetastoreConfig.Builder clearConfigOverrides()
Returns
public HiveMetastoreConfig.Builder clearEndpointProtocol()
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
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.v1alpha.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 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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter
Returns
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
Returns
public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
Returns
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Returns
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Returns
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameters
Returns
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
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). 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
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;
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). 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;
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). 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
Returns
public HiveMetastoreConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public HiveMetastoreConfig.EndpointProtocol getEndpointProtocol()
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
Returns
public int getEndpointProtocolValue()
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for endpointProtocol.
|
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.v1alpha.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.v1alpha.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.v1alpha.KerberosConfig kerberos_config = 3;
Returns
public Map<String,AuxiliaryVersionConfig> getMutableAuxiliaryVersions()
Use alternate mutation accessors instead.
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.v1alpha.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.v1alpha.KerberosConfig kerberos_config = 3;
Parameter
Returns
public final HiveMetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public HiveMetastoreConfig.Builder putAllAuxiliaryVersions(Map<String,AuxiliaryVersionConfig> values)
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter
Returns
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;
Parameter
Returns
public HiveMetastoreConfig.Builder putAuxiliaryVersions(String key, AuxiliaryVersionConfig value)
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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameters
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). 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;
Parameters
Returns
public HiveMetastoreConfig.Builder removeAuxiliaryVersions(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.cloud.metastore.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter
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). 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
Returns
public HiveMetastoreConfig.Builder setEndpointProtocol(HiveMetastoreConfig.EndpointProtocol value)
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
Parameter
Returns
public HiveMetastoreConfig.Builder setEndpointProtocolValue(int value)
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for endpointProtocol to set.
|
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.v1alpha.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.v1alpha.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