Interface V2beta2Autoscaling.MetricTargetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V2beta2Autoscaling.MetricTarget, V2beta2Autoscaling.MetricTarget.Builder
Enclosing class:
V2beta2Autoscaling

public static interface V2beta2Autoscaling.MetricTargetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
    averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
    averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
    type represents whether the metric type is Utilization, Value, or AverageValue
    com.google.protobuf.ByteString
    type represents whether the metric type is Utilization, Value, or AverageValue
    value is the target value of the metric (as a quantity).
    value is the target value of the metric (as a quantity).
    boolean
    averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
    boolean
    averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
    boolean
    type represents whether the metric type is Utilization, Value, or AverageValue
    boolean
    value is the target value of the metric (as a quantity).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasType

      boolean hasType()
       type represents whether the metric type is Utilization, Value, or AverageValue
       
      optional string type = 1;
    • getType

      String getType()
       type represents whether the metric type is Utilization, Value, or AverageValue
       
      optional string type = 1;
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       type represents whether the metric type is Utilization, Value, or AverageValue
       
      optional string type = 1;
    • hasValue

      boolean hasValue()
       value is the target value of the metric (as a quantity).
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;
    • getValue

      Resource.Quantity getValue()
       value is the target value of the metric (as a quantity).
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;
    • getValueOrBuilder

      Resource.QuantityOrBuilder getValueOrBuilder()
       value is the target value of the metric (as a quantity).
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;
    • hasAverageValue

      boolean hasAverageValue()
       averageValue is the target value of the average of the
       metric across all relevant pods (as a quantity)
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
    • getAverageValue

      Resource.Quantity getAverageValue()
       averageValue is the target value of the average of the
       metric across all relevant pods (as a quantity)
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
    • getAverageValueOrBuilder

      Resource.QuantityOrBuilder getAverageValueOrBuilder()
       averageValue is the target value of the average of the
       metric across all relevant pods (as a quantity)
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
    • hasAverageUtilization

      boolean hasAverageUtilization()
       averageUtilization is the target value of the average of the
       resource metric across all relevant pods, represented as a percentage of
       the requested value of the resource for the pods.
       Currently only valid for Resource metric source type
       +optional
       
      optional int32 averageUtilization = 4;
    • getAverageUtilization

      int getAverageUtilization()
       averageUtilization is the target value of the average of the
       resource metric across all relevant pods, represented as a percentage of
       the requested value of the resource for the pods.
       Currently only valid for Resource metric source type
       +optional
       
      optional int32 averageUtilization = 4;