Package com.google.cloud.metastore.v1
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.v1.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.v1.HiveMetastoreConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HiveMetastoreConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HiveMetastoreConfigbuild()HiveMetastoreConfigbuildPartial()HiveMetastoreConfig.Builderclear()HiveMetastoreConfig.BuilderclearAuxiliaryVersions()HiveMetastoreConfig.BuilderclearConfigOverrides()HiveMetastoreConfig.BuilderclearEndpointProtocol()The protocol to use for the metastore service endpoint.HiveMetastoreConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HiveMetastoreConfig.BuilderclearKerberosConfig()Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HiveMetastoreConfig.BuilderclearVersion()Immutable.HiveMetastoreConfig.Builderclone()booleancontainsAuxiliaryVersions(String key)A mapping of Hive metastore version to the auxiliary version configuration.booleancontainsConfigOverrides(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.intgetAuxiliaryVersionsCount()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.AuxiliaryVersionConfiggetAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue)A mapping of Hive metastore version to the auxiliary version configuration.AuxiliaryVersionConfiggetAuxiliaryVersionsOrThrow(String key)A mapping of Hive metastore version to the auxiliary version configuration.Map<String,String>getConfigOverrides()Deprecated.intgetConfigOverridesCount()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`).StringgetConfigOverridesOrDefault(String key, String defaultValue)A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).StringgetConfigOverridesOrThrow(String key)A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).HiveMetastoreConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HiveMetastoreConfig.EndpointProtocolgetEndpointProtocol()The protocol to use for the metastore service endpoint.intgetEndpointProtocolValue()The protocol to use for the metastore service endpoint.KerberosConfiggetKerberosConfig()Information used to configure the Hive metastore service as a service principal in a Kerberos realm.KerberosConfig.BuildergetKerberosConfigBuilder()Information used to configure the Hive metastore service as a service principal in a Kerberos realm.KerberosConfigOrBuildergetKerberosConfigOrBuilder()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.StringgetVersion()Immutable.com.google.protobuf.ByteStringgetVersionBytes()Immutable.booleanhasKerberosConfig()Information used to configure the Hive metastore service as a service principal in a Kerberos realm.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()HiveMetastoreConfig.BuildermergeFrom(HiveMetastoreConfig other)HiveMetastoreConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HiveMetastoreConfig.BuildermergeFrom(com.google.protobuf.Message other)HiveMetastoreConfig.BuildermergeKerberosConfig(KerberosConfig value)Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HiveMetastoreConfig.BuilderputAllAuxiliaryVersions(Map<String,AuxiliaryVersionConfig> values)A mapping of Hive metastore version to the auxiliary version configuration.HiveMetastoreConfig.BuilderputAllConfigOverrides(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.BuilderputAuxiliaryVersions(String key, AuxiliaryVersionConfig value)A mapping of Hive metastore version to the auxiliary version configuration.HiveMetastoreConfig.BuilderputConfigOverrides(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.BuilderremoveAuxiliaryVersions(String key)A mapping of Hive metastore version to the auxiliary version configuration.HiveMetastoreConfig.BuilderremoveConfigOverrides(String key)A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).HiveMetastoreConfig.BuildersetEndpointProtocol(HiveMetastoreConfig.EndpointProtocol value)The protocol to use for the metastore service endpoint.HiveMetastoreConfig.BuildersetEndpointProtocolValue(int value)The protocol to use for the metastore service endpoint.HiveMetastoreConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HiveMetastoreConfig.BuildersetKerberosConfig(KerberosConfig value)Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.BuildersetKerberosConfig(KerberosConfig.Builder builderForValue)Information used to configure the Hive metastore service as a service principal in a Kerberos realm.HiveMetastoreConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HiveMetastoreConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HiveMetastoreConfig.BuildersetVersion(String value)Immutable.HiveMetastoreConfig.BuildersetVersionBytes(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clear
public HiveMetastoreConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
getDefaultInstanceForType
public HiveMetastoreConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HiveMetastoreConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HiveMetastoreConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HiveMetastoreConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
setField
public HiveMetastoreConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clearField
public HiveMetastoreConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
clearOneof
public HiveMetastoreConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
setRepeatedField
public HiveMetastoreConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
addRepeatedField
public HiveMetastoreConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
mergeFrom
public HiveMetastoreConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HiveMetastoreConfig.Builder>
-
mergeFrom
public HiveMetastoreConfig.Builder mergeFrom(HiveMetastoreConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getVersionin 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:
getVersionBytesin 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:HiveMetastoreConfigOrBuilderA 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:
getConfigOverridesCountin 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:
containsConfigOverridesin interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverrides
@Deprecated public Map<String,String> getConfigOverrides()
Deprecated.UsegetConfigOverridesMap()instead.- Specified by:
getConfigOverridesin 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:
getConfigOverridesMapin 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:
getConfigOverridesOrDefaultin 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:
getConfigOverridesOrThrowin 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.v1.KerberosConfig kerberos_config = 3;- Specified by:
hasKerberosConfigin 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.v1.KerberosConfig kerberos_config = 3;- Specified by:
getKerberosConfigin 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.KerberosConfig kerberos_config = 3;- Specified by:
getKerberosConfigOrBuilderin interfaceHiveMetastoreConfigOrBuilder
-
getEndpointProtocolValue
public int getEndpointProtocolValue()
The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.
.google.cloud.metastore.v1.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;- Specified by:
getEndpointProtocolValuein 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.v1.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.v1.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;- Specified by:
getEndpointProtocolin 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.v1.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.v1.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;- Returns:
- This builder for chaining.
-
getAuxiliaryVersionsCount
public int getAuxiliaryVersionsCount()
Description copied from interface:HiveMetastoreConfigOrBuilderA 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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsCountin 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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
containsAuxiliaryVersionsin interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersions
@Deprecated public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
Deprecated.UsegetAuxiliaryVersionsMap()instead.- Specified by:
getAuxiliaryVersionsin 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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsMapin 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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsOrDefaultin 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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsOrThrowin 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.v1.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.v1.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.v1.AuxiliaryVersionConfig> auxiliary_versions = 5;
-
setUnknownFields
public final HiveMetastoreConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
mergeUnknownFields
public final HiveMetastoreConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HiveMetastoreConfig.Builder>
-
-