Interface V2beta1Autoscaling.ResourceMetricSourceOrBuilder

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

public static interface V2beta1Autoscaling.ResourceMetricSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    name is the name of the resource in question.
    com.google.protobuf.ByteString
    name is the name of the resource in question.
    int
    targetAverageUtilization 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.
    targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
    targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
    boolean
    name is the name of the resource in question.
    boolean
    targetAverageUtilization 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
    targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

    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

    • hasName

      boolean hasName()
       name is the name of the resource in question.
       
      optional string name = 1;
    • getName

      String getName()
       name is the name of the resource in question.
       
      optional string name = 1;
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       name is the name of the resource in question.
       
      optional string name = 1;
    • hasTargetAverageUtilization

      boolean hasTargetAverageUtilization()
       targetAverageUtilization 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.
       +optional
       
      optional int32 targetAverageUtilization = 2;
    • getTargetAverageUtilization

      int getTargetAverageUtilization()
       targetAverageUtilization 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.
       +optional
       
      optional int32 targetAverageUtilization = 2;
    • hasTargetAverageValue

      boolean hasTargetAverageValue()
       targetAverageValue is the target value of the average of the
       resource metric across all relevant pods, as a raw value (instead of as
       a percentage of the request), similar to the "pods" metric source type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;
    • getTargetAverageValue

      Resource.Quantity getTargetAverageValue()
       targetAverageValue is the target value of the average of the
       resource metric across all relevant pods, as a raw value (instead of as
       a percentage of the request), similar to the "pods" metric source type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;
    • getTargetAverageValueOrBuilder

      Resource.QuantityOrBuilder getTargetAverageValueOrBuilder()
       targetAverageValue is the target value of the average of the
       resource metric across all relevant pods, as a raw value (instead of as
       a percentage of the request), similar to the "pods" metric source type.
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;