Class AuxiliaryVersionConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
com.google.cloud.metastore.v1beta.AuxiliaryVersionConfig.Builder
All Implemented Interfaces:
AuxiliaryVersionConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AuxiliaryVersionConfig

public static final class AuxiliaryVersionConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder> implements AuxiliaryVersionConfigOrBuilder
 Configuration information for the auxiliary service versions.
 
Protobuf type google.cloud.metastore.v1beta.AuxiliaryVersionConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public AuxiliaryVersionConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuxiliaryVersionConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuxiliaryVersionConfig.Builder>
    • mergeFrom

      public AuxiliaryVersionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuxiliaryVersionConfig.Builder>
      Throws:
      IOException
    • 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.
    • setVersion

      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;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setVersionBytes

      public AuxiliaryVersionConfig.Builder setVersionBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • 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
    • getConfigOverrides

      @Deprecated public Map<String,String> getConfigOverrides()
      Deprecated.
      Specified by:
      getConfigOverrides 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
    • clearConfigOverrides

      public AuxiliaryVersionConfig.Builder clearConfigOverrides()
    • removeConfigOverrides

      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;
    • getMutableConfigOverrides

      @Deprecated public Map<String,String> getMutableConfigOverrides()
      Deprecated.
      Use alternate mutation accessors instead.
    • putConfigOverrides

      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;
    • putAllConfigOverrides

      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;
    • 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.
    • setNetworkConfig

      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.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setNetworkConfig

      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.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeNetworkConfig

      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.v1beta.NetworkConfig network_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearNetworkConfig

      public AuxiliaryVersionConfig.Builder clearNetworkConfig()
       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];
    • getNetworkConfigBuilder

      public NetworkConfig.Builder getNetworkConfigBuilder()
       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];
    • 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