Class Featurestore.OnlineServingConfig.Scaling.Builder

    • Method Detail

      • 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.Builder<Featurestore.OnlineServingConfig.Scaling.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.GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Scaling.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Scaling.Builder>
      • 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.
      • setMinNodeCount

        public Featurestore.OnlineServingConfig.Scaling.Builder setMinNodeCount​(int value)
         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];
        Parameters:
        value - The minNodeCount to set.
        Returns:
        This builder for chaining.
      • clearMinNodeCount

        public Featurestore.OnlineServingConfig.Scaling.Builder clearMinNodeCount()
         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];
        Returns:
        This builder for chaining.
      • 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.
      • setMaxNodeCount

        public Featurestore.OnlineServingConfig.Scaling.Builder setMaxNodeCount​(int value)
         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;
        Parameters:
        value - The maxNodeCount to set.
        Returns:
        This builder for chaining.
      • clearMaxNodeCount

        public Featurestore.OnlineServingConfig.Scaling.Builder clearMaxNodeCount()
         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;
        Returns:
        This builder for chaining.
      • 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.
      • setCpuUtilizationTarget

        public Featurestore.OnlineServingConfig.Scaling.Builder setCpuUtilizationTarget​(int value)
         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];
        Parameters:
        value - The cpuUtilizationTarget to set.
        Returns:
        This builder for chaining.
      • clearCpuUtilizationTarget

        public Featurestore.OnlineServingConfig.Scaling.Builder clearCpuUtilizationTarget()
         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];
        Returns:
        This builder for chaining.