Class HiveMetastoreConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
- com.google.cloud.metastore.v1alpha.HiveMetastoreConfig.Builder
-
- All Implemented Interfaces:
HiveMetastoreConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- HiveMetastoreConfig
public static final class HiveMetastoreConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder> implements HiveMetastoreConfigOrBuilder
Specifies configuration information specific to running Hive metastore software as the metastore service.
Protobuf typegoogle.cloud.metastore.v1alpha.HiveMetastoreConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HiveMetastoreConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HiveMetastoreConfig
build()
HiveMetastoreConfig
buildPartial()
HiveMetastoreConfig.Builder
clear()
HiveMetastoreConfig.Builder
clearAuxiliaryVersions()
HiveMetastoreConfig.Builder
clearConfigOverrides()
HiveMetastoreConfig.Builder
clearEndpointProtocol()
The protocol to use for the metastore service endpoint.HiveMetastoreConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HiveMetastoreConfig.Builder
clearKerberosConfig()
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HiveMetastoreConfig.Builder
clearVersion()
Immutable.HiveMetastoreConfig.Builder
clone()
boolean
containsAuxiliaryVersions(String key)
A mapping of Hive metastore version to the auxiliary version configuration.boolean
containsConfigOverrides(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).Map<String,AuxiliaryVersionConfig>
getAuxiliaryVersions()
Deprecated.int
getAuxiliaryVersionsCount()
A mapping of Hive metastore version to the auxiliary version configuration.Map<String,AuxiliaryVersionConfig>
getAuxiliaryVersionsMap()
A mapping of Hive metastore version to the auxiliary version configuration.AuxiliaryVersionConfig
getAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue)
A mapping of Hive metastore version to the auxiliary version configuration.AuxiliaryVersionConfig
getAuxiliaryVersionsOrThrow(String key)
A mapping of Hive metastore version to the auxiliary version configuration.Map<String,String>
getConfigOverrides()
Deprecated.int
getConfigOverridesCount()
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).Map<String,String>
getConfigOverridesMap()
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).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`).String
getConfigOverridesOrThrow(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).HiveMetastoreConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HiveMetastoreConfig.EndpointProtocol
getEndpointProtocol()
The protocol to use for the metastore service endpoint.int
getEndpointProtocolValue()
The protocol to use for the metastore service endpoint.KerberosConfig
getKerberosConfig()
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.KerberosConfig.Builder
getKerberosConfigBuilder()
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.KerberosConfigOrBuilder
getKerberosConfigOrBuilder()
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.Map<String,AuxiliaryVersionConfig>
getMutableAuxiliaryVersions()
Deprecated.Map<String,String>
getMutableConfigOverrides()
Deprecated.String
getVersion()
Immutable.com.google.protobuf.ByteString
getVersionBytes()
Immutable.boolean
hasKerberosConfig()
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
HiveMetastoreConfig.Builder
mergeFrom(HiveMetastoreConfig other)
HiveMetastoreConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HiveMetastoreConfig.Builder
mergeFrom(com.google.protobuf.Message other)
HiveMetastoreConfig.Builder
mergeKerberosConfig(KerberosConfig value)
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HiveMetastoreConfig.Builder
putAllAuxiliaryVersions(Map<String,AuxiliaryVersionConfig> values)
A mapping of Hive metastore version to the auxiliary version configuration.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`).HiveMetastoreConfig.Builder
putAuxiliaryVersions(String key, AuxiliaryVersionConfig value)
A mapping of Hive metastore version to the auxiliary version configuration.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`).HiveMetastoreConfig.Builder
removeAuxiliaryVersions(String key)
A mapping of Hive metastore version to the auxiliary version configuration.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`).HiveMetastoreConfig.Builder
setEndpointProtocol(HiveMetastoreConfig.EndpointProtocol value)
The protocol to use for the metastore service endpoint.HiveMetastoreConfig.Builder
setEndpointProtocolValue(int value)
The protocol to use for the metastore service endpoint.HiveMetastoreConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HiveMetastoreConfig.Builder
setKerberosConfig(KerberosConfig value)
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.Builder
setKerberosConfig(KerberosConfig.Builder builderForValue)
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HiveMetastoreConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HiveMetastoreConfig.Builder
setVersion(String value)
Immutable.HiveMetastoreConfig.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Immutable.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clear
public HiveMetastoreConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
getDefaultInstanceForType
public HiveMetastoreConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HiveMetastoreConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HiveMetastoreConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HiveMetastoreConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
setField
public HiveMetastoreConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clearField
public HiveMetastoreConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clearOneof
public HiveMetastoreConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
setRepeatedField
public HiveMetastoreConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
addRepeatedField
public HiveMetastoreConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
mergeFrom
public HiveMetastoreConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HiveMetastoreConfig.Builder>
-
mergeFrom
public HiveMetastoreConfig.Builder mergeFrom(HiveMetastoreConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
mergeFrom
public HiveMetastoreConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HiveMetastoreConfig.Builder>
- Throws:
IOException
-
getVersion
public String getVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getVersion
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getVersionBytes
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public HiveMetastoreConfig.Builder setVersion(String value)
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public HiveMetastoreConfig.Builder clearVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setVersionBytes
public HiveMetastoreConfig.Builder setVersionBytes(com.google.protobuf.ByteString value)
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getConfigOverridesCount
public int getConfigOverridesCount()
Description copied from interface:HiveMetastoreConfigOrBuilder
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;
- Specified by:
getConfigOverridesCount
in interfaceHiveMetastoreConfigOrBuilder
-
containsConfigOverrides
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;
- Specified by:
containsConfigOverrides
in interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverrides
@Deprecated public Map<String,String> getConfigOverrides()
Deprecated.UsegetConfigOverridesMap()
instead.- Specified by:
getConfigOverrides
in interfaceHiveMetastoreConfigOrBuilder
-
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). 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;
- Specified by:
getConfigOverridesMap
in interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverridesOrDefault
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;
- Specified by:
getConfigOverridesOrDefault
in interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverridesOrThrow
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;
- Specified by:
getConfigOverridesOrThrow
in interfaceHiveMetastoreConfigOrBuilder
-
clearConfigOverrides
public HiveMetastoreConfig.Builder clearConfigOverrides()
-
removeConfigOverrides
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;
-
getMutableConfigOverrides
@Deprecated public Map<String,String> getMutableConfigOverrides()
Deprecated.Use alternate mutation accessors instead.
-
putConfigOverrides
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;
-
putAllConfigOverrides
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;
-
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.v1alpha.KerberosConfig kerberos_config = 3;
- Specified by:
hasKerberosConfig
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- Whether the kerberosConfig field is set.
-
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.v1alpha.KerberosConfig kerberos_config = 3;
- Specified by:
getKerberosConfig
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- The kerberosConfig.
-
setKerberosConfig
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;
-
setKerberosConfig
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;
-
mergeKerberosConfig
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;
-
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.v1alpha.KerberosConfig kerberos_config = 3;
-
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.v1alpha.KerberosConfig kerberos_config = 3;
-
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.v1alpha.KerberosConfig kerberos_config = 3;
- Specified by:
getKerberosConfigOrBuilder
in interfaceHiveMetastoreConfigOrBuilder
-
getEndpointProtocolValue
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;
- Specified by:
getEndpointProtocolValue
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for endpointProtocol.
-
setEndpointProtocolValue
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;
- Parameters:
value
- The enum numeric value on the wire for endpointProtocol to set.- Returns:
- This builder for chaining.
-
getEndpointProtocol
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;
- Specified by:
getEndpointProtocol
in interfaceHiveMetastoreConfigOrBuilder
- Returns:
- The endpointProtocol.
-
setEndpointProtocol
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;
- Parameters:
value
- The endpointProtocol to set.- Returns:
- This builder for chaining.
-
clearEndpointProtocol
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:
- This builder for chaining.
-
getAuxiliaryVersionsCount
public int getAuxiliaryVersionsCount()
Description copied from interface:HiveMetastoreConfigOrBuilder
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]([-a-z0-9]*[a-z0-9])?. 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;
- Specified by:
getAuxiliaryVersionsCount
in interfaceHiveMetastoreConfigOrBuilder
-
containsAuxiliaryVersions
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]([-a-z0-9]*[a-z0-9])?. 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;
- Specified by:
containsAuxiliaryVersions
in interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersions
@Deprecated public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
Deprecated.UsegetAuxiliaryVersionsMap()
instead.- Specified by:
getAuxiliaryVersions
in interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsMap
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]([-a-z0-9]*[a-z0-9])?. 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;
- Specified by:
getAuxiliaryVersionsMap
in interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsOrDefault
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]([-a-z0-9]*[a-z0-9])?. 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;
- Specified by:
getAuxiliaryVersionsOrDefault
in interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsOrThrow
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]([-a-z0-9]*[a-z0-9])?. 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;
- Specified by:
getAuxiliaryVersionsOrThrow
in interfaceHiveMetastoreConfigOrBuilder
-
clearAuxiliaryVersions
public HiveMetastoreConfig.Builder clearAuxiliaryVersions()
-
removeAuxiliaryVersions
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]([-a-z0-9]*[a-z0-9])?. 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;
-
getMutableAuxiliaryVersions
@Deprecated public Map<String,AuxiliaryVersionConfig> getMutableAuxiliaryVersions()
Deprecated.Use alternate mutation accessors instead.
-
putAuxiliaryVersions
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]([-a-z0-9]*[a-z0-9])?. 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;
-
putAllAuxiliaryVersions
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]([-a-z0-9]*[a-z0-9])?. 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;
-
setUnknownFields
public final HiveMetastoreConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
mergeUnknownFields
public final HiveMetastoreConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
-