Class V1beta1Extensions.ScaleStatus

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

public static final class V1beta1Extensions.ScaleStatus extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Extensions.ScaleStatusOrBuilder
 represents the current status of a scale subresource.
 
Protobuf type k8s.io.api.extensions.v1beta1.ScaleStatus
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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasReplicas

      public boolean hasReplicas()
       actual number of observed instances of the scaled object.
       
      optional int32 replicas = 1;
      Specified by:
      hasReplicas in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getReplicas

      public int getReplicas()
       actual number of observed instances of the scaled object.
       
      optional int32 replicas = 1;
      Specified by:
      getReplicas in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getSelectorCount

      public int getSelectorCount()
      Description copied from interface: V1beta1Extensions.ScaleStatusOrBuilder
       label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors
       +optional
       +mapType=atomic
       
      map<string, string> selector = 2;
      Specified by:
      getSelectorCount in interface V1beta1Extensions.ScaleStatusOrBuilder
    • containsSelector

      public boolean containsSelector(String key)
       label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors
       +optional
       +mapType=atomic
       
      map<string, string> selector = 2;
      Specified by:
      containsSelector in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getSelector

      @Deprecated public Map<String,String> getSelector()
      Deprecated.
      Use getSelectorMap() instead.
      Specified by:
      getSelector in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getSelectorMap

      public Map<String,String> getSelectorMap()
       label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors
       +optional
       +mapType=atomic
       
      map<string, string> selector = 2;
      Specified by:
      getSelectorMap in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getSelectorOrDefault

      public String getSelectorOrDefault(String key, String defaultValue)
       label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors
       +optional
       +mapType=atomic
       
      map<string, string> selector = 2;
      Specified by:
      getSelectorOrDefault in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getSelectorOrThrow

      public String getSelectorOrThrow(String key)
       label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors
       +optional
       +mapType=atomic
       
      map<string, string> selector = 2;
      Specified by:
      getSelectorOrThrow in interface V1beta1Extensions.ScaleStatusOrBuilder
    • hasTargetSelector

      public boolean hasTargetSelector()
       label selector for pods that should match the replicas count. This is a serializated
       version of both map-based and more expressive set-based selectors. This is done to
       avoid introspection in the clients. The string will be in the same format as the
       query-param syntax. If the target type only supports map-based selectors, both this
       field and map-based selector field are populated.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional string targetSelector = 3;
      Specified by:
      hasTargetSelector in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getTargetSelector

      public String getTargetSelector()
       label selector for pods that should match the replicas count. This is a serializated
       version of both map-based and more expressive set-based selectors. This is done to
       avoid introspection in the clients. The string will be in the same format as the
       query-param syntax. If the target type only supports map-based selectors, both this
       field and map-based selector field are populated.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional string targetSelector = 3;
      Specified by:
      getTargetSelector in interface V1beta1Extensions.ScaleStatusOrBuilder
    • getTargetSelectorBytes

      public com.google.protobuf.ByteString getTargetSelectorBytes()
       label selector for pods that should match the replicas count. This is a serializated
       version of both map-based and more expressive set-based selectors. This is done to
       avoid introspection in the clients. The string will be in the same format as the
       query-param syntax. If the target type only supports map-based selectors, both this
       field and map-based selector field are populated.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional string targetSelector = 3;
      Specified by:
      getTargetSelectorBytes in interface V1beta1Extensions.ScaleStatusOrBuilder
    • 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 V1beta1Extensions.ScaleStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static V1beta1Extensions.ScaleStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static V1beta1Extensions.ScaleStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static V1beta1Extensions.ScaleStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static V1beta1Extensions.ScaleStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1beta1Extensions.ScaleStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1beta1Extensions.ScaleStatus> 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 V1beta1Extensions.ScaleStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder