Class ScalingConfig.Builder (2.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.75.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ScalingConfig . Builder   extends   GeneratedMessageV3 . Builder<ScalingConfig . Builder >  implements   ScalingConfigOrBuilder  
   Represents the scaling configuration of a metastore service.
 Protobuf type google.cloud.metastore.v1.ScalingConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   ScalingConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ScalingConfig   build ()  
  
  
    
public   ScalingConfig   buildPartial ()  
  
  
    
public   ScalingConfig . Builder   clear ()  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   clearInstanceSize ()  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
public   ScalingConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   clearScalingFactor ()  
   Scaling factor, increments of 0.1 for values less than 1.0, and
 increments of 1.0 for values greater than 1.0.
 float scaling_factor = 2;
    
public   ScalingConfig . Builder   clearScalingModel ()  
  
  
    
public   ScalingConfig . Builder   clone ()  
  
  Overrides 
  
  
    
public   ScalingConfig   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   ScalingConfig . InstanceSize   getInstanceSize ()  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
public   int   getInstanceSizeValue ()  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for instanceSize.
 
     
  
  
    
public   float   getScalingFactor ()  
   Scaling factor, increments of 0.1 for values less than 1.0, and
 increments of 1.0 for values greater than 1.0.
 float scaling_factor = 2;
    
      
        Returns  
      
        Type Description  
      
        float The scalingFactor.
 
     
  
  
    
public   ScalingConfig . ScalingModelCase   getScalingModelCase ()  
  
  
    
public   boolean   hasInstanceSize ()  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the instanceSize field is set.
 
     
  
  
    
public   boolean   hasScalingFactor ()  
   Scaling factor, increments of 0.1 for values less than 1.0, and
 increments of 1.0 for values greater than 1.0.
 float scaling_factor = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the scalingFactor field is set.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   mergeFrom ( ScalingConfig   other )  
  
  
  
    
public   ScalingConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   ScalingConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   ScalingConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   setInstanceSize ( ScalingConfig . InstanceSize   value )  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
public   ScalingConfig . Builder   setInstanceSizeValue ( int   value )  
   An enum of readable instance sizes, with each instance size mapping to a
 float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
 .google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueint The enum numeric value on the wire for instanceSize to set.
 
     
  
  
  
    
public   ScalingConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ScalingConfig . Builder   setScalingFactor ( float   value )  
   Scaling factor, increments of 0.1 for values less than 1.0, and
 increments of 1.0 for values greater than 1.0.
 float scaling_factor = 2;
    
      
        Parameter  
      
        Name Description  
      
        valuefloat The scalingFactor to set.
 
     
  
  
  
    
public   final   ScalingConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]