Class AuxiliaryVersionConfig

  • All Implemented Interfaces:
    AuxiliaryVersionConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AuxiliaryVersionConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements AuxiliaryVersionConfigOrBuilder
     Configuration information for the auxiliary service versions.
     
    Protobuf type google.cloud.metastore.v1beta.AuxiliaryVersionConfig
    See Also:
    Serialized Form
    • Field Detail

      • CONFIG_OVERRIDES_FIELD_NUMBER

        public static final int CONFIG_OVERRIDES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NETWORK_CONFIG_FIELD_NUMBER

        public static final int NETWORK_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        getVersion in interface AuxiliaryVersionConfigOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.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;
        Specified by:
        getVersionBytes in interface AuxiliaryVersionConfigOrBuilder
        Returns:
        The bytes for version.
      • getConfigOverridesCount

        public int getConfigOverridesCount()
        Description copied from interface: AuxiliaryVersionConfigOrBuilder
         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;
        Specified by:
        getConfigOverridesCount in interface AuxiliaryVersionConfigOrBuilder
      • containsConfigOverrides

        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;
        Specified by:
        containsConfigOverrides in interface AuxiliaryVersionConfigOrBuilder
      • 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;
        Specified by:
        getConfigOverridesMap in interface AuxiliaryVersionConfigOrBuilder
      • getConfigOverridesOrDefault

        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;
        Specified by:
        getConfigOverridesOrDefault in interface AuxiliaryVersionConfigOrBuilder
      • getConfigOverridesOrThrow

        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;
        Specified by:
        getConfigOverridesOrThrow in interface AuxiliaryVersionConfigOrBuilder
      • hasNetworkConfig

        public boolean hasNetworkConfig()
         Output only. The network configuration contains the endpoint URI(s) of the
         auxiliary Hive metastore service.
         
        .google.cloud.metastore.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasNetworkConfig in interface AuxiliaryVersionConfigOrBuilder
        Returns:
        Whether the networkConfig field is set.
      • getNetworkConfig

        public NetworkConfig getNetworkConfig()
         Output only. The network configuration contains the endpoint URI(s) of the
         auxiliary Hive metastore service.
         
        .google.cloud.metastore.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworkConfig in interface AuxiliaryVersionConfigOrBuilder
        Returns:
        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.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworkConfigOrBuilder in interface AuxiliaryVersionConfigOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuxiliaryVersionConfig parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public AuxiliaryVersionConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AuxiliaryVersionConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AuxiliaryVersionConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AuxiliaryVersionConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AuxiliaryVersionConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder