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| Modifier and Type | Class and Description |
|---|---|
static class |
Meta.Condition.Builder
Condition contains details for one aspect of the current state of this API Resource.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
LASTTRANSITIONTIME_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
OBSERVEDGENERATION_FIELD_NUMBER |
static com.google.protobuf.Parser<Meta.Condition> |
PARSER
Deprecated.
|
static int |
REASON_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Meta.Condition |
getDefaultInstance() |
Meta.Condition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Meta.Time |
getLastTransitionTime()
lastTransitionTime is the last time the condition transitioned from one status to another.
|
Meta.TimeOrBuilder |
getLastTransitionTimeOrBuilder()
lastTransitionTime is the last time the condition transitioned from one status to another.
|
String |
getMessage()
message is a human readable message indicating details about the transition.
|
com.google.protobuf.ByteString |
getMessageBytes()
message is a human readable message indicating details about the transition.
|
long |
getObservedGeneration()
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
com.google.protobuf.Parser<Meta.Condition> |
getParserForType() |
String |
getReason()
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
com.google.protobuf.ByteString |
getReasonBytes()
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
int |
getSerializedSize() |
String |
getStatus()
status of the condition, one of True, False, Unknown.
|
com.google.protobuf.ByteString |
getStatusBytes()
status of the condition, one of True, False, Unknown.
|
String |
getType()
type of condition in CamelCase or in foo.example.com/CamelCase.
|
com.google.protobuf.ByteString |
getTypeBytes()
type of condition in CamelCase or in foo.example.com/CamelCase.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLastTransitionTime()
lastTransitionTime is the last time the condition transitioned from one status to another.
|
boolean |
hasMessage()
message is a human readable message indicating details about the transition.
|
boolean |
hasObservedGeneration()
observedGeneration represents the .metadata.generation that the condition was set based upon.
|
boolean |
hasReason()
reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
boolean |
hasStatus()
status of the condition, one of True, False, Unknown.
|
boolean |
hasType()
type of condition in CamelCase or in foo.example.com/CamelCase.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Meta.Condition.Builder |
newBuilder() |
static Meta.Condition.Builder |
newBuilder(Meta.Condition prototype) |
Meta.Condition.Builder |
newBuilderForType() |
protected Meta.Condition.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.Condition |
parseDelimitedFrom(InputStream input) |
static Meta.Condition |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.Condition |
parseFrom(byte[] data) |
static Meta.Condition |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.Condition |
parseFrom(ByteBuffer data) |
static Meta.Condition |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.Condition |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.Condition |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.Condition |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.Condition |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.Condition |
parseFrom(InputStream input) |
static Meta.Condition |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.Condition> |
parser() |
Meta.Condition.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int OBSERVEDGENERATION_FIELD_NUMBER
public static final int LASTTRANSITIONTIME_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.Condition> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasType in interface Meta.ConditionOrBuilderpublic 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;getType in interface Meta.ConditionOrBuilderpublic 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;getTypeBytes in interface Meta.ConditionOrBuilderpublic 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;hasStatus in interface Meta.ConditionOrBuilderpublic 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;getStatus in interface Meta.ConditionOrBuilderpublic 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;getStatusBytes in interface Meta.ConditionOrBuilderpublic 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;hasObservedGeneration in interface Meta.ConditionOrBuilderpublic 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;getObservedGeneration in interface Meta.ConditionOrBuilderpublic 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;hasLastTransitionTime in interface Meta.ConditionOrBuilderpublic 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;getLastTransitionTime in interface Meta.ConditionOrBuilderpublic 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;getLastTransitionTimeOrBuilder in interface Meta.ConditionOrBuilderpublic 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;hasReason in interface Meta.ConditionOrBuilderpublic 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;getReason in interface Meta.ConditionOrBuilderpublic 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;getReasonBytes in interface Meta.ConditionOrBuilderpublic 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;hasMessage in interface Meta.ConditionOrBuilderpublic 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;getMessage in interface Meta.ConditionOrBuilderpublic 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;getMessageBytes in interface Meta.ConditionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Meta.Condition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.Condition parseFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.Condition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.Condition parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.Condition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.Condition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Meta.Condition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Meta.Condition.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Meta.Condition.Builder newBuilder()
public static Meta.Condition.Builder newBuilder(Meta.Condition prototype)
public Meta.Condition.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Meta.Condition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Meta.Condition getDefaultInstance()
public static com.google.protobuf.Parser<Meta.Condition> parser()
public com.google.protobuf.Parser<Meta.Condition> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Meta.Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.