Interface V2beta1Autoscaling.ObjectMetricSourceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    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
    metricName is the name of the metric in question.
    com.google.protobuf.ByteString
    metricName is the name of the metric in question.
    selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
    selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
    target is the described Kubernetes object.
    target is the described Kubernetes object.
    targetValue is the target value of the metric (as a quantity).
    targetValue is the target value of the metric (as a quantity).
    boolean
    averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
    boolean
    metricName is the name of the metric in question.
    boolean
    selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
    boolean
    target is the described Kubernetes object.
    boolean
    targetValue 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

    • hasTarget

      boolean hasTarget()
       target is the described Kubernetes object.
       
      optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;
    • getTarget

       target is the described Kubernetes object.
       
      optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;
    • getTargetOrBuilder

       target is the described Kubernetes object.
       
      optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;
    • hasMetricName

      boolean hasMetricName()
       metricName is the name of the metric in question.
       
      optional string metricName = 2;
    • getMetricName

      String getMetricName()
       metricName is the name of the metric in question.
       
      optional string metricName = 2;
    • getMetricNameBytes

      com.google.protobuf.ByteString getMetricNameBytes()
       metricName is the name of the metric in question.
       
      optional string metricName = 2;
    • hasTargetValue

      boolean hasTargetValue()
       targetValue is the target value of the metric (as a quantity).
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    • getTargetValue

      Resource.Quantity getTargetValue()
       targetValue is the target value of the metric (as a quantity).
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    • getTargetValueOrBuilder

      Resource.QuantityOrBuilder getTargetValueOrBuilder()
       targetValue is the target value of the metric (as a quantity).
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    • hasSelector

      boolean hasSelector()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
       When unset, just the metricName will be used to gather metrics.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
    • getSelector

      Meta.LabelSelector getSelector()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
       When unset, just the metricName will be used to gather metrics.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
    • getSelectorOrBuilder

      Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
       When unset, just the metricName will be used to gather metrics.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
    • 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 = 5;
    • 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 = 5;
    • 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 = 5;