Class AuxiliaryVersionConfig (2.46.0)

public final class AuxiliaryVersionConfig extends GeneratedMessageV3 implements AuxiliaryVersionConfigOrBuilder

Configuration information for the auxiliary service versions.

Protobuf type google.cloud.metastore.v1alpha.AuxiliaryVersionConfig

Static Fields

CONFIG_OVERRIDES_FIELD_NUMBER

public static final int CONFIG_OVERRIDES_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_CONFIG_FIELD_NUMBER

public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuxiliaryVersionConfig getDefaultInstance()
Returns
Type Description
AuxiliaryVersionConfig

getDescriptor()

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

newBuilder()

public static AuxiliaryVersionConfig.Builder newBuilder()
Returns
Type Description
AuxiliaryVersionConfig.Builder

newBuilder(AuxiliaryVersionConfig prototype)

public static AuxiliaryVersionConfig.Builder newBuilder(AuxiliaryVersionConfig prototype)
Parameter
Name Description
prototype AuxiliaryVersionConfig
Returns
Type Description
AuxiliaryVersionConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuxiliaryVersionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuxiliaryVersionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuxiliaryVersionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuxiliaryVersionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuxiliaryVersionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuxiliaryVersionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuxiliaryVersionConfig> parser()
Returns
Type Description
Parser<AuxiliaryVersionConfig>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

getParserForType()

public Parser<AuxiliaryVersionConfig> getParserForType()
Returns
Type Description
Parser<AuxiliaryVersionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuxiliaryVersionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuxiliaryVersionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException