public final class Condition extends GeneratedMessageV3 implements ConditionOrBuilder
Defines a status condition for a resource.
Protobuf type google.cloud.run.v2.Condition
Static Fields
DOMAIN_MAPPING_REASON_FIELD_NUMBER
public static final int DOMAIN_MAPPING_REASON_FIELD_NUMBER
Field Value
EXECUTION_REASON_FIELD_NUMBER
public static final int EXECUTION_REASON_FIELD_NUMBER
Field Value
INTERNAL_REASON_FIELD_NUMBER
public static final int INTERNAL_REASON_FIELD_NUMBER
Field Value
LAST_TRANSITION_TIME_FIELD_NUMBER
public static final int LAST_TRANSITION_TIME_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
Field Value
REVISION_REASON_FIELD_NUMBER
public static final int REVISION_REASON_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Condition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Condition.Builder newBuilder()
Returns
newBuilder(Condition prototype)
public static Condition.Builder newBuilder(Condition prototype)
Parameter
Returns
public static Condition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Condition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Condition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Condition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Condition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Condition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Condition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Condition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Condition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Condition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Condition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Condition getDefaultInstanceForType()
Returns
getDomainMappingReason()
public Condition.DomainMappingReason getDomainMappingReason()
A reason for the domain mapping condition.
.google.cloud.run.v2.Condition.DomainMappingReason domain_mapping_reason = 8;
Returns
getDomainMappingReasonValue()
public int getDomainMappingReasonValue()
A reason for the domain mapping condition.
.google.cloud.run.v2.Condition.DomainMappingReason domain_mapping_reason = 8;
Returns
Type | Description |
int | The enum numeric value on the wire for domainMappingReason.
|
getExecutionReason()
public Condition.ExecutionReason getExecutionReason()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
Returns
getExecutionReasonValue()
public int getExecutionReasonValue()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
Returns
Type | Description |
int | The enum numeric value on the wire for executionReason.
|
getInternalReason()
public Condition.InternalReason getInternalReason()
A reason for the internal condition.
.google.cloud.run.v2.Condition.InternalReason internal_reason = 7;
Returns
getInternalReasonValue()
public int getInternalReasonValue()
A reason for the internal condition.
.google.cloud.run.v2.Condition.InternalReason internal_reason = 7;
Returns
Type | Description |
int | The enum numeric value on the wire for internalReason.
|
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;
Returns
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
getParserForType()
public Parser<Condition> getParserForType()
Returns
Overrides
getReason()
public Condition.CommonReason getReason()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
Returns
getReasonValue()
public int getReasonValue()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
Returns
Type | Description |
int | The enum numeric value on the wire for reason.
|
getReasonsCase()
public Condition.ReasonsCase getReasonsCase()
Returns
getRevisionReason()
public Condition.RevisionReason getRevisionReason()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
Returns
getRevisionReasonValue()
public int getRevisionReasonValue()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
Returns
Type | Description |
int | The enum numeric value on the wire for revisionReason.
|
getSerializedSize()
public int getSerializedSize()
Returns
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;
Returns
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;
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDomainMappingReason()
public boolean hasDomainMappingReason()
A reason for the domain mapping condition.
.google.cloud.run.v2.Condition.DomainMappingReason domain_mapping_reason = 8;
Returns
Type | Description |
boolean | Whether the domainMappingReason field is set.
|
hasExecutionReason()
public boolean hasExecutionReason()
A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
Returns
Type | Description |
boolean | Whether the executionReason field is set.
|
hasInternalReason()
public boolean hasInternalReason()
A reason for the internal condition.
.google.cloud.run.v2.Condition.InternalReason internal_reason = 7;
Returns
Type | Description |
boolean | Whether the internalReason 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()
A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6;
Returns
Type | Description |
boolean | Whether the reason field is set.
|
hasRevisionReason()
public boolean hasRevisionReason()
A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
Returns
Type | Description |
boolean | Whether the revisionReason field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Condition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Condition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Condition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions