Class AuxiliaryVersionConfig.Builder (2.21.0)

public static final class AuxiliaryVersionConfig.Builder extends GeneratedMessageV3.Builder<AuxiliaryVersionConfig.Builder> implements AuxiliaryVersionConfigOrBuilder

Configuration information for the auxiliary service versions.

Protobuf type google.cloud.metastore.v1.AuxiliaryVersionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryVersionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

build()

public AuxiliaryVersionConfig build()
Returns
TypeDescription
AuxiliaryVersionConfig

buildPartial()

public AuxiliaryVersionConfig buildPartial()
Returns
TypeDescription
AuxiliaryVersionConfig

clear()

public AuxiliaryVersionConfig.Builder clear()
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

clearConfigOverrides()

public AuxiliaryVersionConfig.Builder clearConfigOverrides()
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public AuxiliaryVersionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

clearNetworkConfig()

public AuxiliaryVersionConfig.Builder clearNetworkConfig()

Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.

.google.cloud.metastore.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AuxiliaryVersionConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuxiliaryVersionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

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
TypeDescription
AuxiliaryVersionConfig.Builder

This builder for chaining.

clone()

public AuxiliaryVersionConfig.Builder clone()
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

containsConfigOverrides(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConfigOverrides()

public Map<String,String> getConfigOverrides()
Returns
TypeDescription
Map<String,String>

getConfigOverridesCount()

public 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. 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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,String>

getConfigOverridesOrDefault(String key, String defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getConfigOverridesOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getDefaultInstanceForType()

public AuxiliaryVersionConfig getDefaultInstanceForType()
Returns
TypeDescription
AuxiliaryVersionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableConfigOverrides()

public Map<String,String> getMutableConfigOverrides()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getNetworkConfig()

public NetworkConfig getNetworkConfig()

Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.

.google.cloud.metastore.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public NetworkConfig.Builder getNetworkConfigBuilder()

Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.

.google.cloud.metastore.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NetworkConfig.Builder

getNetworkConfigOrBuilder()

public NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.

.google.cloud.metastore.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NetworkConfigOrBuilder

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;

Returns
TypeDescription
String

The version.

getVersionBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for version.

hasNetworkConfig()

public boolean hasNetworkConfig()

Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.

.google.cloud.metastore.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the networkConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuxiliaryVersionConfig other)

public AuxiliaryVersionConfig.Builder mergeFrom(AuxiliaryVersionConfig other)
Parameter
NameDescription
otherAuxiliaryVersionConfig
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuxiliaryVersionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuxiliaryVersionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

mergeNetworkConfig(NetworkConfig value)

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.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryVersionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

putAllConfigOverrides(Map<String,String> values)

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;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

putConfigOverrides(String key, String value)

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;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

removeConfigOverrides(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryVersionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

setNetworkConfig(NetworkConfig value)

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.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

setNetworkConfig(NetworkConfig.Builder builderForValue)

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.v1.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueNetworkConfig.Builder
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AuxiliaryVersionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryVersionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

setVersion(String value)

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;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
AuxiliaryVersionConfig.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AuxiliaryVersionConfig.Builder setVersionBytes(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;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AuxiliaryVersionConfig.Builder

This builder for chaining.