Package com.google.cloud.run.v2
Interface ConditionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Condition
,Condition.Builder
public interface ConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Condition.ExecutionReason
getExecutionReason()
A reason for the execution condition.int
getExecutionReasonValue()
A reason for the execution condition.com.google.protobuf.Timestamp
getLastTransitionTime()
Last time the condition transitioned from one status to another.com.google.protobuf.TimestampOrBuilder
getLastTransitionTimeOrBuilder()
Last time the condition transitioned from one status to another.String
getMessage()
Human readable message indicating details about the current status.com.google.protobuf.ByteString
getMessageBytes()
Human readable message indicating details about the current status.Condition.CommonReason
getReason()
A common (service-level) reason for this condition.Condition.ReasonsCase
getReasonsCase()
int
getReasonValue()
A common (service-level) reason for this condition.Condition.RevisionReason
getRevisionReason()
A reason for the revision condition.int
getRevisionReasonValue()
A reason for the revision condition.Condition.Severity
getSeverity()
How to interpret failures of this condition, one of Error, Warning, Infoint
getSeverityValue()
How to interpret failures of this condition, one of Error, Warning, InfoCondition.State
getState()
State of the condition.int
getStateValue()
State of the condition.String
getType()
type is used to communicate the status of the reconciliation process.com.google.protobuf.ByteString
getTypeBytes()
type is used to communicate the status of the reconciliation process.boolean
hasExecutionReason()
A reason for the execution condition.boolean
hasLastTransitionTime()
Last time the condition transitioned from one status to another.boolean
hasReason()
A common (service-level) reason for this condition.boolean
hasRevisionReason()
A reason for the revision condition.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getType
String getType()
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
string type = 1;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
string type = 1;
- Returns:
- The bytes for type.
-
getStateValue
int getStateValue()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;
- Returns:
- The enum numeric value on the wire for state.
-
getState
Condition.State getState()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;
- Returns:
- The state.
-
getMessage
String getMessage()
Human readable message indicating details about the current status.
string message = 3;
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
Human readable message indicating details about the current status.
string message = 3;
- Returns:
- The bytes for message.
-
hasLastTransitionTime
boolean hasLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
- Returns:
- Whether the lastTransitionTime field is set.
-
getLastTransitionTime
com.google.protobuf.Timestamp getLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
- Returns:
- The lastTransitionTime.
-
getLastTransitionTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
-
getSeverityValue
int getSeverityValue()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Condition.Severity getSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;
- Returns:
- The severity.
-
hasReason
boolean hasReason()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
- Returns:
- Whether the reason field is set.
-
getReasonValue
int getReasonValue()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
- Returns:
- The enum numeric value on the wire for reason.
-
getReason
Condition.CommonReason getReason()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
- Returns:
- The reason.
-
hasRevisionReason
boolean hasRevisionReason()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
- Returns:
- Whether the revisionReason field is set.
-
getRevisionReasonValue
int getRevisionReasonValue()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
- Returns:
- The enum numeric value on the wire for revisionReason.
-
getRevisionReason
Condition.RevisionReason getRevisionReason()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
- Returns:
- The revisionReason.
-
hasExecutionReason
boolean hasExecutionReason()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
- Returns:
- Whether the executionReason field is set.
-
getExecutionReasonValue
int getExecutionReasonValue()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
- Returns:
- The enum numeric value on the wire for executionReason.
-
getExecutionReason
Condition.ExecutionReason getExecutionReason()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
- Returns:
- The executionReason.
-
getReasonsCase
Condition.ReasonsCase getReasonsCase()
-
-