public final class Condition extends com.google.protobuf.GeneratedMessageV3 implements ConditionOrBuilder
Defines a status condition for a resource.Protobuf type
google.cloud.run.v2.Condition| Modifier and Type | Class and Description |
|---|---|
static class |
Condition.Builder
Defines a status condition for a resource.
|
static class |
Condition.CommonReason
Reasons common to all types of conditions.
|
static class |
Condition.ExecutionReason
Reasons specific to Execution resource.
|
static class |
Condition.ReasonsCase |
static class |
Condition.RevisionReason
Reasons specific to Revision resource.
|
static class |
Condition.Severity
Represents the severity of the condition failures.
|
static class |
Condition.State
Represents the possible Condition states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXECUTION_REASON_FIELD_NUMBER |
static int |
LAST_TRANSITION_TIME_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
REASON_FIELD_NUMBER |
static int |
REVISION_REASON_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Condition |
getDefaultInstance() |
Condition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Condition.ExecutionReason |
getExecutionReason()
Output only.
|
int |
getExecutionReasonValue()
Output only.
|
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.
|
com.google.protobuf.Parser<Condition> |
getParserForType() |
Condition.CommonReason |
getReason()
Output only.
|
Condition.ReasonsCase |
getReasonsCase() |
int |
getReasonValue()
Output only.
|
Condition.RevisionReason |
getRevisionReason()
Output only.
|
int |
getRevisionReasonValue()
Output only.
|
int |
getSerializedSize() |
Condition.Severity |
getSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5; |
int |
getSeverityValue()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5; |
Condition.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()
Output only.
|
int |
hashCode() |
boolean |
hasLastTransitionTime()
Last time the condition transitioned from one status to another.
|
boolean |
hasReason()
Output only.
|
boolean |
hasRevisionReason()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Condition.Builder |
newBuilder() |
static Condition.Builder |
newBuilder(Condition prototype) |
Condition.Builder |
newBuilderForType() |
protected Condition.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Condition |
parseDelimitedFrom(InputStream input) |
static Condition |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Condition |
parseFrom(byte[] data) |
static Condition |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Condition |
parseFrom(ByteBuffer data) |
static Condition |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Condition |
parseFrom(com.google.protobuf.ByteString data) |
static Condition |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Condition |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Condition |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Condition |
parseFrom(InputStream input) |
static Condition |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Condition> |
parser() |
Condition.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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 STATE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int LAST_TRANSITION_TIME_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
public static final int REVISION_REASON_FIELD_NUMBER
public static final int EXECUTION_REASON_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 Condition.ReasonsCase getReasonsCase()
getReasonsCase in interface ConditionOrBuilderpublic 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;getType in interface ConditionOrBuilderpublic 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;getTypeBytes in interface ConditionOrBuilderpublic int getStateValue()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;getStateValue in interface ConditionOrBuilderpublic Condition.State getState()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;getState in interface ConditionOrBuilderpublic String getMessage()
Human readable message indicating details about the current status.
string message = 3;getMessage in interface ConditionOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
Human readable message indicating details about the current status.
string message = 3;getMessageBytes in interface ConditionOrBuilderpublic boolean hasLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;hasLastTransitionTime in interface ConditionOrBuilderpublic com.google.protobuf.Timestamp getLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;getLastTransitionTime in interface ConditionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;getLastTransitionTimeOrBuilder in interface ConditionOrBuilderpublic int getSeverityValue()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;getSeverityValue in interface ConditionOrBuilderpublic Condition.Severity getSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;getSeverity in interface ConditionOrBuilderpublic boolean hasReason()
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasReason in interface ConditionOrBuilderpublic int getReasonValue()
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReasonValue in interface ConditionOrBuilderpublic Condition.CommonReason getReason()
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReason in interface ConditionOrBuilderpublic boolean hasRevisionReason()
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRevisionReason in interface ConditionOrBuilderpublic int getRevisionReasonValue()
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionReasonValue in interface ConditionOrBuilderpublic Condition.RevisionReason getRevisionReason()
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionReason in interface ConditionOrBuilderpublic boolean hasExecutionReason()
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExecutionReason in interface ConditionOrBuilderpublic int getExecutionReasonValue()
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExecutionReasonValue in interface ConditionOrBuilderpublic Condition.ExecutionReason getExecutionReason()
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExecutionReason in interface 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 Condition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Condition parseFrom(InputStream input) throws IOException
IOExceptionpublic static Condition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Condition parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Condition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Condition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Condition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Condition.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Condition.Builder newBuilder()
public static Condition.Builder newBuilder(Condition prototype)
public Condition.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Condition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Condition getDefaultInstance()
public static com.google.protobuf.Parser<Condition> parser()
public com.google.protobuf.Parser<Condition> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.