Class V2beta1Autoscaling.PodsMetricStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V2beta1Autoscaling.PodsMetricStatus
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V2beta1Autoscaling.PodsMetricStatusOrBuilder, Serializable
Enclosing class:
V2beta1Autoscaling

public static final class V2beta1Autoscaling.PodsMetricStatus extends com.google.protobuf.GeneratedMessageV3 implements V2beta1Autoscaling.PodsMetricStatusOrBuilder
 PodsMetricStatus indicates the current value of a metric describing each pod in
 the current scale target (for example, transactions-processed-per-second).
 
Protobuf type k8s.io.api.autoscaling.v2beta1.PodsMetricStatus
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasMetricName

      public boolean hasMetricName()
       metricName is the name of the metric in question
       
      optional string metricName = 1;
      Specified by:
      hasMetricName in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getMetricName

      public String getMetricName()
       metricName is the name of the metric in question
       
      optional string metricName = 1;
      Specified by:
      getMetricName in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getMetricNameBytes

      public com.google.protobuf.ByteString getMetricNameBytes()
       metricName is the name of the metric in question
       
      optional string metricName = 1;
      Specified by:
      getMetricNameBytes in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • hasCurrentAverageValue

      public boolean hasCurrentAverageValue()
       currentAverageValue is the current value of the average of the
       metric across all relevant pods (as a quantity)
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
      Specified by:
      hasCurrentAverageValue in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getCurrentAverageValue

      public Resource.Quantity getCurrentAverageValue()
       currentAverageValue is the current value of the average of the
       metric across all relevant pods (as a quantity)
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
      Specified by:
      getCurrentAverageValue in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getCurrentAverageValueOrBuilder

      public Resource.QuantityOrBuilder getCurrentAverageValueOrBuilder()
       currentAverageValue is the current value of the average of the
       metric across all relevant pods (as a quantity)
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
      Specified by:
      getCurrentAverageValueOrBuilder in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • hasSelector

      public boolean hasSelector()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set in the PodsMetricSource, 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 = 3;
      Specified by:
      hasSelector in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getSelector

      public Meta.LabelSelector getSelector()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set in the PodsMetricSource, 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 = 3;
      Specified by:
      getSelector in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • getSelectorOrBuilder

      public Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
       selector is the string-encoded form of a standard kubernetes label selector for the given metric
       When set in the PodsMetricSource, 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 = 3;
      Specified by:
      getSelectorOrBuilder in interface V2beta1Autoscaling.PodsMetricStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V2beta1Autoscaling.PodsMetricStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V2beta1Autoscaling.PodsMetricStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V2beta1Autoscaling.PodsMetricStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V2beta1Autoscaling.PodsMetricStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V2beta1Autoscaling.PodsMetricStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V2beta1Autoscaling.PodsMetricStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V2beta1Autoscaling.PodsMetricStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V2beta1Autoscaling.PodsMetricStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder