Class Featurestore.OnlineServingConfig.Scaling

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling
All Implemented Interfaces:
Featurestore.OnlineServingConfig.ScalingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Featurestore.OnlineServingConfig

public static final class Featurestore.OnlineServingConfig.Scaling extends com.google.protobuf.GeneratedMessage implements Featurestore.OnlineServingConfig.ScalingOrBuilder
 Online serving scaling configuration. If min_node_count and
 max_node_count are set to the same value, the cluster will be configured
 with the fixed number of node (no auto-scaling).
 
Protobuf type google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling
See Also:
  • Field Details

    • MIN_NODE_COUNT_FIELD_NUMBER

      public static final int MIN_NODE_COUNT_FIELD_NUMBER
      See Also:
    • MAX_NODE_COUNT_FIELD_NUMBER

      public static final int MAX_NODE_COUNT_FIELD_NUMBER
      See Also:
    • CPU_UTILIZATION_TARGET_FIELD_NUMBER

      public static final int CPU_UTILIZATION_TARGET_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMinNodeCount

      public int getMinNodeCount()
       Required. The minimum number of nodes to scale down to. Must be greater
       than or equal to 1.
       
      int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMinNodeCount in interface Featurestore.OnlineServingConfig.ScalingOrBuilder
      Returns:
      The minNodeCount.
    • getMaxNodeCount

      public int getMaxNodeCount()
       The maximum number of nodes to scale up to. Must be greater than
       min_node_count, and less than or equal to 10 times of 'min_node_count'.
       
      int32 max_node_count = 2;
      Specified by:
      getMaxNodeCount in interface Featurestore.OnlineServingConfig.ScalingOrBuilder
      Returns:
      The maxNodeCount.
    • getCpuUtilizationTarget

      public int getCpuUtilizationTarget()
       Optional. The cpu utilization that the Autoscaler should be trying to
       achieve. This number is on a scale from 0 (no utilization) to 100
       (total utilization), and is limited between 10 and 80. When a cluster's
       CPU utilization exceeds the target that you have set, Bigtable
       immediately adds nodes to the cluster. When CPU utilization is
       substantially lower than the target, Bigtable removes nodes. If not set
       or set to 0, default to 50.
       
      int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCpuUtilizationTarget in interface Featurestore.OnlineServingConfig.ScalingOrBuilder
      Returns:
      The cpuUtilizationTarget.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Featurestore.OnlineServingConfig.Scaling parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Featurestore.OnlineServingConfig.Scaling getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Featurestore.OnlineServingConfig.Scaling> parser()
    • getParserForType

      public com.google.protobuf.Parser<Featurestore.OnlineServingConfig.Scaling> 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.GeneratedMessage
    • getDefaultInstanceForType

      public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder