Class AuxiliaryVersionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
- com.google.cloud.metastore.v1alpha.AuxiliaryVersionConfig.Builder
-
- All Implemented Interfaces:
AuxiliaryVersionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AuxiliaryVersionConfig
public static final class AuxiliaryVersionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder> implements AuxiliaryVersionConfigOrBuilder
Configuration information for the auxiliary service versions.
Protobuf typegoogle.cloud.metastore.v1alpha.AuxiliaryVersionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuxiliaryVersionConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuxiliaryVersionConfigbuild()AuxiliaryVersionConfigbuildPartial()AuxiliaryVersionConfig.Builderclear()AuxiliaryVersionConfig.BuilderclearConfigOverrides()AuxiliaryVersionConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AuxiliaryVersionConfig.BuilderclearNetworkConfig()Output only.AuxiliaryVersionConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AuxiliaryVersionConfig.BuilderclearVersion()The Hive metastore version of the auxiliary service.AuxiliaryVersionConfig.Builderclone()booleancontainsConfigOverrides(String key)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.Map<String,String>getConfigOverrides()Deprecated.intgetConfigOverridesCount()A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.Map<String,String>getConfigOverridesMap()A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.StringgetConfigOverridesOrDefault(String key, String defaultValue)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.StringgetConfigOverridesOrThrow(String key)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.AuxiliaryVersionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getMutableConfigOverrides()Deprecated.NetworkConfiggetNetworkConfig()Output only.NetworkConfig.BuildergetNetworkConfigBuilder()Output only.NetworkConfigOrBuildergetNetworkConfigOrBuilder()Output only.StringgetVersion()The Hive metastore version of the auxiliary service.com.google.protobuf.ByteStringgetVersionBytes()The Hive metastore version of the auxiliary service.booleanhasNetworkConfig()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AuxiliaryVersionConfig.BuildermergeFrom(AuxiliaryVersionConfig other)AuxiliaryVersionConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AuxiliaryVersionConfig.BuildermergeFrom(com.google.protobuf.Message other)AuxiliaryVersionConfig.BuildermergeNetworkConfig(NetworkConfig value)Output only.AuxiliaryVersionConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuxiliaryVersionConfig.BuilderputAllConfigOverrides(Map<String,String> values)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.AuxiliaryVersionConfig.BuilderputConfigOverrides(String key, String value)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.AuxiliaryVersionConfig.BuilderremoveConfigOverrides(String key)A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides.AuxiliaryVersionConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuxiliaryVersionConfig.BuildersetNetworkConfig(NetworkConfig value)Output only.AuxiliaryVersionConfig.BuildersetNetworkConfig(NetworkConfig.Builder builderForValue)Output only.AuxiliaryVersionConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AuxiliaryVersionConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuxiliaryVersionConfig.BuildersetVersion(String value)The Hive metastore version of the auxiliary service.AuxiliaryVersionConfig.BuildersetVersionBytes(com.google.protobuf.ByteString value)The Hive metastore version of the auxiliary service.-
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<AuxiliaryVersionConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
clear
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
getDefaultInstanceForType
public AuxiliaryVersionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuxiliaryVersionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuxiliaryVersionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
setField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
clearField
public AuxiliaryVersionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
clearOneof
public AuxiliaryVersionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
setRepeatedField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
addRepeatedField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
mergeFrom
public AuxiliaryVersionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuxiliaryVersionConfig.Builder>
-
mergeFrom
public AuxiliaryVersionConfig.Builder mergeFrom(AuxiliaryVersionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
mergeFrom
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>- Throws:
IOException
-
getVersion
public String getVersion()
The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
string version = 1;- Specified by:
getVersionin interfaceAuxiliaryVersionConfigOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
string version = 1;- Specified by:
getVersionBytesin interfaceAuxiliaryVersionConfigOrBuilder- Returns:
- The bytes for version.
-
setVersion
public AuxiliaryVersionConfig.Builder setVersion(String value)
The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
string version = 1;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public AuxiliaryVersionConfig.Builder clearVersion()
The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
string version = 1;- Returns:
- This builder for chaining.
-
setVersionBytes
public AuxiliaryVersionConfig.Builder setVersionBytes(com.google.protobuf.ByteString value)
The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
string version = 1;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getConfigOverridesCount
public int getConfigOverridesCount()
Description copied from interface:AuxiliaryVersionConfigOrBuilderA mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesCountin interfaceAuxiliaryVersionConfigOrBuilder
-
containsConfigOverrides
public boolean containsConfigOverrides(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;- Specified by:
containsConfigOverridesin interfaceAuxiliaryVersionConfigOrBuilder
-
getConfigOverrides
@Deprecated public Map<String,String> getConfigOverrides()
Deprecated.UsegetConfigOverridesMap()instead.- Specified by:
getConfigOverridesin interfaceAuxiliaryVersionConfigOrBuilder
-
getConfigOverridesMap
public Map<String,String> getConfigOverridesMap()
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesMapin interfaceAuxiliaryVersionConfigOrBuilder
-
getConfigOverridesOrDefault
public String getConfigOverridesOrDefault(String key, String defaultValue)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesOrDefaultin interfaceAuxiliaryVersionConfigOrBuilder
-
getConfigOverridesOrThrow
public String getConfigOverridesOrThrow(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesOrThrowin interfaceAuxiliaryVersionConfigOrBuilder
-
clearConfigOverrides
public AuxiliaryVersionConfig.Builder clearConfigOverrides()
-
removeConfigOverrides
public AuxiliaryVersionConfig.Builder removeConfigOverrides(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;
-
getMutableConfigOverrides
@Deprecated public Map<String,String> getMutableConfigOverrides()
Deprecated.Use alternate mutation accessors instead.
-
putConfigOverrides
public AuxiliaryVersionConfig.Builder putConfigOverrides(String key, String value)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;
-
putAllConfigOverrides
public AuxiliaryVersionConfig.Builder putAllConfigOverrides(Map<String,String> values)
A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in `hive-site.xml`) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
map<string, string> config_overrides = 2;
-
hasNetworkConfig
public boolean hasNetworkConfig()
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNetworkConfigin interfaceAuxiliaryVersionConfigOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
public NetworkConfig getNetworkConfig()
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkConfigin interfaceAuxiliaryVersionConfigOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
public AuxiliaryVersionConfig.Builder setNetworkConfig(NetworkConfig value)
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setNetworkConfig
public AuxiliaryVersionConfig.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeNetworkConfig
public AuxiliaryVersionConfig.Builder mergeNetworkConfig(NetworkConfig value)
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearNetworkConfig
public AuxiliaryVersionConfig.Builder clearNetworkConfig()
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNetworkConfigBuilder
public NetworkConfig.Builder getNetworkConfigBuilder()
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNetworkConfigOrBuilder
public NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.
.google.cloud.metastore.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkConfigOrBuilderin interfaceAuxiliaryVersionConfigOrBuilder
-
setUnknownFields
public final AuxiliaryVersionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
mergeUnknownFields
public final AuxiliaryVersionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
-