Interface Generated.ConditionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Condition,Generated.Condition.Builder
- Enclosing class:
- Generated
public static interface Generated.ConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.TimegetLastTransitionTime()lastTransitionTime is the last time the condition transitioned from one status to another.Generated.TimeOrBuildergetLastTransitionTimeOrBuilder()lastTransitionTime is the last time the condition transitioned from one status to another.StringgetMessage()message is a human readable message indicating details about the transition.com.google.protobuf.ByteStringgetMessageBytes()message is a human readable message indicating details about the transition.longgetObservedGeneration()observedGeneration represents the .metadata.generation that the condition was set based upon.StringgetReason()reason contains a programmatic identifier indicating the reason for the condition's last transition.com.google.protobuf.ByteStringgetReasonBytes()reason contains a programmatic identifier indicating the reason for the condition's last transition.StringgetStatus()status of the condition, one of True, False, Unknown.com.google.protobuf.ByteStringgetStatusBytes()status of the condition, one of True, False, Unknown.StringgetType()type of condition in CamelCase or in foo.example.com/CamelCase.com.google.protobuf.ByteStringgetTypeBytes()type of condition in CamelCase or in foo.example.com/CamelCase.booleanhasLastTransitionTime()lastTransitionTime is the last time the condition transitioned from one status to another.booleanhasMessage()message is a human readable message indicating details about the transition.booleanhasObservedGeneration()observedGeneration represents the .metadata.generation that the condition was set based upon.booleanhasReason()reason contains a programmatic identifier indicating the reason for the condition's last transition.booleanhasStatus()status of the condition, one of True, False, Unknown.booleanhasType()type of condition in CamelCase or in foo.example.com/CamelCase.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasType
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;- Returns:
- Whether the type field is set.
-
getType
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;- Returns:
- The type.
-
getTypeBytes
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;- Returns:
- The bytes for type.
-
hasStatus
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;- Returns:
- Whether the status field is set.
-
getStatus
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;- Returns:
- The status.
-
getStatusBytes
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;- Returns:
- The bytes for status.
-
hasObservedGeneration
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;- Returns:
- Whether the observedGeneration field is set.
-
getObservedGeneration
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;- Returns:
- The observedGeneration.
-
hasLastTransitionTime
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;- Returns:
- Whether the lastTransitionTime field is set.
-
getLastTransitionTime
Generated.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;- Returns:
- The lastTransitionTime.
-
getLastTransitionTimeOrBuilder
Generated.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;
-
hasReason
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;- Returns:
- Whether the reason field is set.
-
getReason
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;- Returns:
- The reason.
-
getReasonBytes
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;- Returns:
- The bytes for reason.
-
hasMessage
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;- Returns:
- Whether the message field is set.
-
getMessage
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;- Returns:
- The message.
-
getMessageBytes
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;- Returns:
- The bytes for message.
-
-