Class Featurestore.OnlineServingConfig.Scaling

    • Field Detail

      • MIN_NODE_COUNT_FIELD_NUMBER

        public static final int MIN_NODE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_NODE_COUNT_FIELD_NUMBER

        public static final int MAX_NODE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CPU_UTILIZATION_TARGET_FIELD_NUMBER

        public static final int CPU_UTILIZATION_TARGET_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()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.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 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
      • newBuilderForType

        public Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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