Package k8s.io.api.core.v1
Interface Generated.PodConditionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PodCondition,Generated.PodCondition.Builder
- Enclosing class:
- Generated
public static interface Generated.PodConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.TimegetLastProbeTime()Last time we probed the condition.Generated.TimeOrBuildergetLastProbeTimeOrBuilder()Last time we probed the condition.Generated.TimegetLastTransitionTime()Last time the condition transitioned from one status to another.Generated.TimeOrBuildergetLastTransitionTimeOrBuilder()Last time the condition transitioned from one status to another.StringgetMessage()Human-readable message indicating details about last transition.com.google.protobuf.ByteStringgetMessageBytes()Human-readable message indicating details about last transition.longgetObservedGeneration()If set, this represents the .metadata.generation that the pod condition was set based upon.StringgetReason()Unique, one-word, CamelCase reason for the condition's last transition.com.google.protobuf.ByteStringgetReasonBytes()Unique, one-word, CamelCase reason for the condition's last transition.StringgetStatus()Status is the status of the condition.com.google.protobuf.ByteStringgetStatusBytes()Status is the status of the condition.StringgetType()Type is the type of the condition.com.google.protobuf.ByteStringgetTypeBytes()Type is the type of the condition.booleanhasLastProbeTime()Last time we probed the condition.booleanhasLastTransitionTime()Last time the condition transitioned from one status to another.booleanhasMessage()Human-readable message indicating details about last transition.booleanhasObservedGeneration()If set, this represents the .metadata.generation that the pod condition was set based upon.booleanhasReason()Unique, one-word, CamelCase reason for the condition's last transition.booleanhasStatus()Status is the status of the condition.booleanhasType()Type is the type of the condition.-
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 is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string type = 1;- Returns:
- Whether the type field is set.
-
getType
String getType()
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string type = 1;- Returns:
- The bytes for type.
-
hasObservedGeneration
boolean hasObservedGeneration()
If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. +featureGate=PodObservedGenerationTracking +optional
optional int64 observedGeneration = 7;- Returns:
- Whether the observedGeneration field is set.
-
getObservedGeneration
long getObservedGeneration()
If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. +featureGate=PodObservedGenerationTracking +optional
optional int64 observedGeneration = 7;- Returns:
- The observedGeneration.
-
hasStatus
boolean hasStatus()
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string status = 2;- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string status = 2;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
optional string status = 2;- Returns:
- The bytes for status.
-
hasLastProbeTime
boolean hasLastProbeTime()
Last time we probed the condition. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;- Returns:
- Whether the lastProbeTime field is set.
-
getLastProbeTime
Generated.Time getLastProbeTime()
Last time we probed the condition. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;- Returns:
- The lastProbeTime.
-
getLastProbeTimeOrBuilder
Generated.TimeOrBuilder getLastProbeTimeOrBuilder()
Last time we probed the condition. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
-
hasLastTransitionTime
boolean hasLastTransitionTime()
Last time the condition transitioned from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;- Returns:
- Whether the lastTransitionTime field is set.
-
getLastTransitionTime
Generated.Time getLastTransitionTime()
Last time the condition transitioned from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;- Returns:
- The lastTransitionTime.
-
getLastTransitionTimeOrBuilder
Generated.TimeOrBuilder getLastTransitionTimeOrBuilder()
Last time the condition transitioned from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
-
hasReason
boolean hasReason()
Unique, one-word, CamelCase reason for the condition's last transition. +optional
optional string reason = 5;- Returns:
- Whether the reason field is set.
-
getReason
String getReason()
Unique, one-word, CamelCase reason for the condition's last transition. +optional
optional string reason = 5;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()
Unique, one-word, CamelCase reason for the condition's last transition. +optional
optional string reason = 5;- Returns:
- The bytes for reason.
-
hasMessage
boolean hasMessage()
Human-readable message indicating details about last transition. +optional
optional string message = 6;- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()
Human-readable message indicating details about last transition. +optional
optional string message = 6;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
Human-readable message indicating details about last transition. +optional
optional string message = 6;- Returns:
- The bytes for message.
-
-