Class FeatureOnlineStore.Bigtable.AutoScaling.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
com.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling.Builder
All Implemented Interfaces:
FeatureOnlineStore.Bigtable.AutoScalingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeatureOnlineStore.Bigtable.AutoScaling

public static final class FeatureOnlineStore.Bigtable.AutoScaling.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder> implements FeatureOnlineStore.Bigtable.AutoScalingOrBuilder
Protobuf type google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling
  • 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.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.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.GeneratedMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
    • getDefaultInstanceForType

      public FeatureOnlineStore.Bigtable.AutoScaling getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
    • mergeFrom

      public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder>
      Throws:
      IOException
    • 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 FeatureOnlineStore.Bigtable.AutoScalingOrBuilder
      Returns:
      The minNodeCount.
    • setMinNodeCount

      public FeatureOnlineStore.Bigtable.AutoScaling.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

       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()
       Required. The maximum number of nodes to scale up to. Must be greater
       than or equal to min_node_count, and less than or equal to 10 times of
       'min_node_count'.
       
      int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMaxNodeCount in interface FeatureOnlineStore.Bigtable.AutoScalingOrBuilder
      Returns:
      The maxNodeCount.
    • setMaxNodeCount

      public FeatureOnlineStore.Bigtable.AutoScaling.Builder setMaxNodeCount(int value)
       Required. The maximum number of nodes to scale up to. Must be greater
       than or equal to min_node_count, and less than or equal to 10 times of
       'min_node_count'.
       
      int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The maxNodeCount to set.
      Returns:
      This builder for chaining.
    • clearMaxNodeCount

       Required. The maximum number of nodes to scale up to. Must be greater
       than or equal to min_node_count, and less than or equal to 10 times of
       'min_node_count'.
       
      int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getCpuUtilizationTarget

      public int getCpuUtilizationTarget()
       Optional. A percentage of the cluster's CPU capacity. Can be from 10%
       to 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 will default to 50%.
       
      int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCpuUtilizationTarget in interface FeatureOnlineStore.Bigtable.AutoScalingOrBuilder
      Returns:
      The cpuUtilizationTarget.
    • setCpuUtilizationTarget

      public FeatureOnlineStore.Bigtable.AutoScaling.Builder setCpuUtilizationTarget(int value)
       Optional. A percentage of the cluster's CPU capacity. Can be from 10%
       to 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 will 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 FeatureOnlineStore.Bigtable.AutoScaling.Builder clearCpuUtilizationTarget()
       Optional. A percentage of the cluster's CPU capacity. Can be from 10%
       to 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 will default to 50%.
       
      int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.