Class Meta.Condition

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

public static final class Meta.Condition extends com.google.protobuf.GeneratedMessageV3 implements Meta.ConditionOrBuilder
 Condition contains details for one aspect of the current state of this API Resource.
 ---
 This struct is intended for direct use as an array at the field path .status.conditions.  For example,
 type FooStatus struct{
     // Represents the observations of a foo's current state.
     // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
     // +patchMergeKey=type
     // +patchStrategy=merge
     // +listType=map
     // +listMapKey=type
     Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
     // other fields
 }
 
Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.Condition
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Condition contains details for one aspect of the current state of this API Resource.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<Meta.Condition>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    lastTransitionTime is the last time the condition transitioned from one status to another.
    lastTransitionTime is the last time the condition transitioned from one status to another.
    message is a human readable message indicating details about the transition.
    com.google.protobuf.ByteString
    message is a human readable message indicating details about the transition.
    long
    observedGeneration represents the .metadata.generation that the condition was set based upon.
    com.google.protobuf.Parser<Meta.Condition>
     
    reason contains a programmatic identifier indicating the reason for the condition's last transition.
    com.google.protobuf.ByteString
    reason contains a programmatic identifier indicating the reason for the condition's last transition.
    int
     
    status of the condition, one of True, False, Unknown.
    com.google.protobuf.ByteString
    status of the condition, one of True, False, Unknown.
    type of condition in CamelCase or in foo.example.com/CamelCase.
    com.google.protobuf.ByteString
    type of condition in CamelCase or in foo.example.com/CamelCase.
    final com.google.protobuf.UnknownFieldSet
     
    int
     
    boolean
    lastTransitionTime is the last time the condition transitioned from one status to another.
    boolean
    message is a human readable message indicating details about the transition.
    boolean
    observedGeneration represents the .metadata.generation that the condition was set based upon.
    boolean
    reason contains a programmatic identifier indicating the reason for the condition's last transition.
    boolean
    status of the condition, one of True, False, Unknown.
    boolean
    type of condition in CamelCase or in foo.example.com/CamelCase.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Meta.Condition>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • 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
    • hasType

      public boolean hasType()
       type of condition in CamelCase or in foo.example.com/CamelCase.
       ---
       Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       useful (see .node.status.conditions), the ability to deconflict is important.
       The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       +kubebuilder:validation:MaxLength=316
       
      optional string type = 1;
      Specified by:
      hasType in interface Meta.ConditionOrBuilder
    • getType

      public String getType()
       type of condition in CamelCase or in foo.example.com/CamelCase.
       ---
       Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       useful (see .node.status.conditions), the ability to deconflict is important.
       The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       +kubebuilder:validation:MaxLength=316
       
      optional string type = 1;
      Specified by:
      getType in interface Meta.ConditionOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       type of condition in CamelCase or in foo.example.com/CamelCase.
       ---
       Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       useful (see .node.status.conditions), the ability to deconflict is important.
       The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       +kubebuilder:validation:MaxLength=316
       
      optional string type = 1;
      Specified by:
      getTypeBytes in interface Meta.ConditionOrBuilder
    • hasStatus

      public boolean hasStatus()
       status of the condition, one of True, False, Unknown.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Enum=True;False;Unknown
       
      optional string status = 2;
      Specified by:
      hasStatus in interface Meta.ConditionOrBuilder
    • getStatus

      public String getStatus()
       status of the condition, one of True, False, Unknown.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Enum=True;False;Unknown
       
      optional string status = 2;
      Specified by:
      getStatus in interface Meta.ConditionOrBuilder
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       status of the condition, one of True, False, Unknown.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Enum=True;False;Unknown
       
      optional string status = 2;
      Specified by:
      getStatusBytes in interface Meta.ConditionOrBuilder
    • hasObservedGeneration

      public boolean hasObservedGeneration()
       observedGeneration represents the .metadata.generation that the condition was set based upon.
       For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       with respect to the current state of the instance.
       +optional
       +kubebuilder:validation:Minimum=0
       
      optional int64 observedGeneration = 3;
      Specified by:
      hasObservedGeneration in interface Meta.ConditionOrBuilder
    • getObservedGeneration

      public long getObservedGeneration()
       observedGeneration represents the .metadata.generation that the condition was set based upon.
       For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       with respect to the current state of the instance.
       +optional
       +kubebuilder:validation:Minimum=0
       
      optional int64 observedGeneration = 3;
      Specified by:
      getObservedGeneration in interface Meta.ConditionOrBuilder
    • hasLastTransitionTime

      public boolean hasLastTransitionTime()
       lastTransitionTime is the last time the condition transitioned from one status to another.
       This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Type=string
       +kubebuilder:validation:Format=date-time
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      hasLastTransitionTime in interface Meta.ConditionOrBuilder
    • getLastTransitionTime

      public Meta.Time getLastTransitionTime()
       lastTransitionTime is the last time the condition transitioned from one status to another.
       This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Type=string
       +kubebuilder:validation:Format=date-time
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      getLastTransitionTime in interface Meta.ConditionOrBuilder
    • getLastTransitionTimeOrBuilder

      public Meta.TimeOrBuilder getLastTransitionTimeOrBuilder()
       lastTransitionTime is the last time the condition transitioned from one status to another.
       This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:Type=string
       +kubebuilder:validation:Format=date-time
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      getLastTransitionTimeOrBuilder in interface Meta.ConditionOrBuilder
    • hasReason

      public boolean hasReason()
       reason contains a programmatic identifier indicating the reason for the condition's last transition.
       Producers of specific condition types may define expected values and meanings for this field,
       and whether the values are considered a guaranteed API.
       The value should be a CamelCase string.
       This field may not be empty.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=1024
       +kubebuilder:validation:MinLength=1
       +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       
      optional string reason = 5;
      Specified by:
      hasReason in interface Meta.ConditionOrBuilder
    • getReason

      public String getReason()
       reason contains a programmatic identifier indicating the reason for the condition's last transition.
       Producers of specific condition types may define expected values and meanings for this field,
       and whether the values are considered a guaranteed API.
       The value should be a CamelCase string.
       This field may not be empty.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=1024
       +kubebuilder:validation:MinLength=1
       +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       
      optional string reason = 5;
      Specified by:
      getReason in interface Meta.ConditionOrBuilder
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       reason contains a programmatic identifier indicating the reason for the condition's last transition.
       Producers of specific condition types may define expected values and meanings for this field,
       and whether the values are considered a guaranteed API.
       The value should be a CamelCase string.
       This field may not be empty.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=1024
       +kubebuilder:validation:MinLength=1
       +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       
      optional string reason = 5;
      Specified by:
      getReasonBytes in interface Meta.ConditionOrBuilder
    • hasMessage

      public boolean hasMessage()
       message is a human readable message indicating details about the transition.
       This may be an empty string.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=32768
       
      optional string message = 6;
      Specified by:
      hasMessage in interface Meta.ConditionOrBuilder
    • getMessage

      public String getMessage()
       message is a human readable message indicating details about the transition.
       This may be an empty string.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=32768
       
      optional string message = 6;
      Specified by:
      getMessage in interface Meta.ConditionOrBuilder
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       message is a human readable message indicating details about the transition.
       This may be an empty string.
       +required
       +kubebuilder:validation:Required
       +kubebuilder:validation:MaxLength=32768
       
      optional string message = 6;
      Specified by:
      getMessageBytes in interface Meta.ConditionOrBuilder
    • 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 Meta.Condition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Meta.Condition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Meta.Condition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Meta.Condition.Builder newBuilder()
    • newBuilder

      public static Meta.Condition.Builder newBuilder(Meta.Condition prototype)
    • toBuilder

      public Meta.Condition.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Meta.Condition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Meta.Condition> parser()
    • getParserForType

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