Class AuxiliaryVersionConfig (2.20.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
TypeDescription
int

NETWORK_CONFIG_FIELD_NUMBER

public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuxiliaryVersionConfig getDefaultInstance()
Returns
TypeDescription
AuxiliaryVersionConfig

getDescriptor()

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

newBuilder()

public static AuxiliaryVersionConfig.Builder newBuilder()
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

newBuilder(AuxiliaryVersionConfig prototype)

public static AuxiliaryVersionConfig.Builder newBuilder(AuxiliaryVersionConfig prototype)
Parameter
NameDescription
prototypeAuxiliaryVersionConfig
Returns
TypeDescription
AuxiliaryVersionConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuxiliaryVersionConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuxiliaryVersionConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuxiliaryVersionConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuxiliaryVersionConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuxiliaryVersionConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuxiliaryVersionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuxiliaryVersionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuxiliaryVersionConfig> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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

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
TypeDescription
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
TypeDescription
NetworkConfigOrBuilder

getParserForType()

public Parser<AuxiliaryVersionConfig> getParserForType()
Returns
TypeDescription
Parser<AuxiliaryVersionConfig>
Overrides

getSerializedSize()

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

Returns
TypeDescription
boolean

Whether the networkConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuxiliaryVersionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuxiliaryVersionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException