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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AuxiliaryVersionConfig
build()
AuxiliaryVersionConfig
buildPartial()
AuxiliaryVersionConfig.Builder
clear()
AuxiliaryVersionConfig.Builder
clearConfigOverrides()
AuxiliaryVersionConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AuxiliaryVersionConfig.Builder
clearNetworkConfig()
Output only.AuxiliaryVersionConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AuxiliaryVersionConfig.Builder
clearVersion()
The Hive metastore version of the auxiliary service.AuxiliaryVersionConfig.Builder
clone()
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.Map<String,String>
getConfigOverrides()
Deprecated.int
getConfigOverridesCount()
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.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.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.AuxiliaryVersionConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,String>
getMutableConfigOverrides()
Deprecated.NetworkConfig
getNetworkConfig()
Output only.NetworkConfig.Builder
getNetworkConfigBuilder()
Output only.NetworkConfigOrBuilder
getNetworkConfigOrBuilder()
Output only.String
getVersion()
The Hive metastore version of the auxiliary service.com.google.protobuf.ByteString
getVersionBytes()
The Hive metastore version of the auxiliary service.boolean
hasNetworkConfig()
Output only.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()
AuxiliaryVersionConfig.Builder
mergeFrom(AuxiliaryVersionConfig other)
AuxiliaryVersionConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AuxiliaryVersionConfig.Builder
mergeFrom(com.google.protobuf.Message other)
AuxiliaryVersionConfig.Builder
mergeNetworkConfig(NetworkConfig value)
Output only.AuxiliaryVersionConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.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.AuxiliaryVersionConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AuxiliaryVersionConfig.Builder
setNetworkConfig(NetworkConfig value)
Output only.AuxiliaryVersionConfig.Builder
setNetworkConfig(NetworkConfig.Builder builderForValue)
Output only.AuxiliaryVersionConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AuxiliaryVersionConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AuxiliaryVersionConfig.Builder
setVersion(String value)
The Hive metastore version of the auxiliary service.AuxiliaryVersionConfig.Builder
setVersionBytes(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
clear
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
getDefaultInstanceForType
public AuxiliaryVersionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuxiliaryVersionConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuxiliaryVersionConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
setField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
clearField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
clearOneof
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
setRepeatedField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
addRepeatedField
public AuxiliaryVersionConfig.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<AuxiliaryVersionConfig.Builder>
-
mergeFrom
public AuxiliaryVersionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuxiliaryVersionConfig.Builder>
-
mergeFrom
public AuxiliaryVersionConfig.Builder mergeFrom(AuxiliaryVersionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getVersion
in 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:
getVersionBytes
in 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:AuxiliaryVersionConfigOrBuilder
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:
getConfigOverridesCount
in 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:
containsConfigOverrides
in interfaceAuxiliaryVersionConfigOrBuilder
-
getConfigOverrides
@Deprecated public Map<String,String> getConfigOverrides()
Deprecated.UsegetConfigOverridesMap()
instead.- Specified by:
getConfigOverrides
in 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:
getConfigOverridesMap
in 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:
getConfigOverridesOrDefault
in 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:
getConfigOverridesOrThrow
in 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:
hasNetworkConfig
in 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:
getNetworkConfig
in 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:
getNetworkConfigOrBuilder
in interfaceAuxiliaryVersionConfigOrBuilder
-
setUnknownFields
public final AuxiliaryVersionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
mergeUnknownFields
public final AuxiliaryVersionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder>
-
-