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.events.cloud.metastore.v1.HiveMetastoreConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 clearAuxiliaryVersions()
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.events.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;
public HiveMetastoreConfig.Builder clone()
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter |
---|
Name | Description |
key | String
|
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,AuxiliaryVersionConfig> getAuxiliaryVersions()
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
Returns |
---|
Type | Description |
int | |
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
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.events.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.events.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.events.cloud.metastore.v1.KerberosConfig kerberos_config = 3;
public Map<String,AuxiliaryVersionConfig> getMutableAuxiliaryVersions()
Use alternate mutation accessors instead.
public Map<String,String> getMutableConfigOverrides()
Use alternate mutation accessors instead.
public String getVersion()
Immutable. The Hive metastore schema version.
string version = 1;
Returns |
---|
Type | Description |
String | The version.
|
public ByteString getVersionBytes()
Immutable. The Hive metastore schema version.
string version = 1;
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.events.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.events.cloud.metastore.v1.KerberosConfig kerberos_config = 3;
public final HiveMetastoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
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 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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
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 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.events.cloud.metastore.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
Parameter |
---|
Name | Description |
key | String
|
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.events.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.events.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;
Parameter |
---|
Name | Description |
value | String
The version to set.
|
public HiveMetastoreConfig.Builder setVersionBytes(ByteString value)
Immutable. The Hive metastore schema version.
string version = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for version to set.
|