public final class AuxiliaryVersionConfig extends GeneratedMessageV3 implements AuxiliaryVersionConfigOrBuilder
Configuration information for the auxiliary service versions.
Protobuf type google.cloud.metastore.v1alpha.AuxiliaryVersionConfig
Static Fields
public static final int CONFIG_OVERRIDES_FIELD_NUMBER
Field Value
public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
public static AuxiliaryVersionConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static AuxiliaryVersionConfig.Builder newBuilder()
Returns
public static AuxiliaryVersionConfig.Builder newBuilder(AuxiliaryVersionConfig prototype)
Parameter
Returns
public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuxiliaryVersionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AuxiliaryVersionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AuxiliaryVersionConfig> parser()
Returns
Methods
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
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Map<String,String> getConfigOverrides()
Returns
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
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
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
Returns
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
Returns
public AuxiliaryVersionConfig getDefaultInstanceForType()
Returns
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
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
public Parser<AuxiliaryVersionConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AuxiliaryVersionConfig.Builder newBuilderForType()
Returns
protected AuxiliaryVersionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public AuxiliaryVersionConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions