public final class Condition extends GeneratedMessageV3 implements ConditionOrBuilder
Defines a status condition for a resource.
Protobuf type google.cloud.run.v2.Condition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXECUTION_REASON_FIELD_NUMBER
public static final int EXECUTION_REASON_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_TRANSITION_TIME_FIELD_NUMBER
public static final int LAST_TRANSITION_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REVISION_REASON_FIELD_NUMBER
public static final int REVISION_REASON_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Condition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Condition.Builder newBuilder()
newBuilder(Condition prototype)
public static Condition.Builder newBuilder(Condition prototype)
Parameter |
Name |
Description |
prototype |
Condition
|
public static Condition parseDelimitedFrom(InputStream input)
public static Condition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Condition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Condition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(CodedInputStream input)
public static Condition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(InputStream input)
public static Condition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Condition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Condition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Condition getDefaultInstanceForType()
getExecutionReason()
public 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];
getExecutionReasonValue()
public 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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for executionReason.
|
getLastTransitionTime()
public Timestamp getLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
Returns |
Type |
Description |
Timestamp |
The lastTransitionTime.
|
getLastTransitionTimeOrBuilder()
public TimestampOrBuilder getLastTransitionTimeOrBuilder()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
getMessage()
public String getMessage()
Human readable message indicating details about the current status.
string message = 3;
Returns |
Type |
Description |
String |
The message.
|
getMessageBytes()
public ByteString getMessageBytes()
Human readable message indicating details about the current status.
string message = 3;
Returns |
Type |
Description |
ByteString |
The bytes for message.
|
getParserForType()
public Parser<Condition> getParserForType()
Overrides
getReason()
public 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];
getReasonValue()
public 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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for reason.
|
getReasonsCase()
public Condition.ReasonsCase getReasonsCase()
getRevisionReason()
public 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];
getRevisionReasonValue()
public 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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for revisionReason.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSeverity()
public Condition.Severity getSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;
getSeverityValue()
public int getSeverityValue()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for severity.
|
getState()
public Condition.State getState()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;
getStateValue()
public int getStateValue()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getType()
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hasExecutionReason()
public 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];
Returns |
Type |
Description |
boolean |
Whether the executionReason field is set.
|
hasLastTransitionTime()
public boolean hasLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;
Returns |
Type |
Description |
boolean |
Whether the lastTransitionTime field is set.
|
hasReason()
public 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];
Returns |
Type |
Description |
boolean |
Whether the reason field is set.
|
hasRevisionReason()
public 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];
Returns |
Type |
Description |
boolean |
Whether the revisionReason field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Condition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Condition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Condition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides