Send feedback
Class ScalingConfig (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.0 keyboard_arrow_down
public final class ScalingConfig extends GeneratedMessageV3 implements ScalingConfigOrBuilder
Represents the scaling configuration of a metastore service.
Protobuf type google.cloud.metastore.v1.ScalingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int INSTANCE_SIZE_FIELD_NUMBER
Field Value Type Description int
public static final int SCALING_FACTOR_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static ScalingConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ScalingConfig . Builder newBuilder ()
public static ScalingConfig . Builder newBuilder ( ScalingConfig prototype )
public static ScalingConfig parseDelimitedFrom ( InputStream input )
public static ScalingConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ScalingConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static ScalingConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ScalingConfig parseFrom ( ByteString data )
public static ScalingConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ScalingConfig parseFrom ( CodedInputStream input )
public static ScalingConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ScalingConfig parseFrom ( InputStream input )
public static ScalingConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ScalingConfig parseFrom ( ByteBuffer data )
public static ScalingConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ScalingConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public ScalingConfig getDefaultInstanceForType ()
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 Parser<ScalingConfig> getParserForType ()
Overrides
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 int getSerializedSize ()
Returns Type Description int
Overrides
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.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ScalingConfig . Builder newBuilderForType ()
protected ScalingConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public ScalingConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]