Class AuxiliaryVersionConfig.Builder (2.54.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.v1alpha.AuxiliaryVersionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryVersionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuxiliaryVersionConfig.Builder
Overrides

build()

public AuxiliaryVersionConfig build()
Returns
Type Description
AuxiliaryVersionConfig

buildPartial()

public AuxiliaryVersionConfig buildPartial()
Returns
Type Description
AuxiliaryVersionConfig

clear()

public AuxiliaryVersionConfig.Builder clear()
Returns
Type Description
AuxiliaryVersionConfig.Builder
Overrides

clearConfigOverrides()

public AuxiliaryVersionConfig.Builder clearConfigOverrides()
Returns
Type Description
AuxiliaryVersionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public AuxiliaryVersionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuxiliaryVersionConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuxiliaryVersionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
AuxiliaryVersionConfig.Builder

This builder for chaining.

clone()

public AuxiliaryVersionConfig.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getConfigOverrides() (deprecated)

public Map<String,String> getConfigOverrides()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getDefaultInstanceForType()

public AuxiliaryVersionConfig getDefaultInstanceForType()
Returns
Type Description
AuxiliaryVersionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableConfigOverrides() (deprecated)

public Map<String,String> getMutableConfigOverrides()

Use alternate mutation accessors instead.

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

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

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

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

Returns
Type Description
boolean

Whether the networkConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuxiliaryVersionConfig other)

public AuxiliaryVersionConfig.Builder mergeFrom(AuxiliaryVersionConfig other)
Parameter
Name Description
other AuxiliaryVersionConfig
Returns
Type Description
AuxiliaryVersionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuxiliaryVersionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuxiliaryVersionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value NetworkConfig
Returns
Type Description
AuxiliaryVersionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryVersionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
AuxiliaryVersionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AuxiliaryVersionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value NetworkConfig
Returns
Type Description
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.v1alpha.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue NetworkConfig.Builder
Returns
Type Description
AuxiliaryVersionConfig.Builder

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

public AuxiliaryVersionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AuxiliaryVersionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuxiliaryVersionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The version to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AuxiliaryVersionConfig.Builder

This builder for chaining.