public static final class Condition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder> implements ConditionOrBuilder
Defines a status condition for a resource.Protobuf type
google.cloud.run.v2.Condition| Modifier and Type | Method and Description |
|---|---|
Condition.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Condition |
build() |
Condition |
buildPartial() |
Condition.Builder |
clear() |
Condition.Builder |
clearExecutionReason()
Output only.
|
Condition.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Condition.Builder |
clearLastTransitionTime()
Last time the condition transitioned from one status to another.
|
Condition.Builder |
clearMessage()
Human readable message indicating details about the current status.
|
Condition.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Condition.Builder |
clearReason()
Output only.
|
Condition.Builder |
clearReasons() |
Condition.Builder |
clearRevisionReason()
Output only.
|
Condition.Builder |
clearSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5; |
Condition.Builder |
clearState()
State of the condition.
|
Condition.Builder |
clearType()
type is used to communicate the status of the reconciliation process.
|
Condition.Builder |
clone() |
Condition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Timestamp.Builder |
getLastTransitionTimeBuilder()
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()
Output only.
|
Condition.ReasonsCase |
getReasonsCase() |
int |
getReasonValue()
Output only.
|
Condition.RevisionReason |
getRevisionReason()
Output only.
|
int |
getRevisionReasonValue()
Output only.
|
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.
|
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() |
Condition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Condition.Builder |
mergeFrom(Condition other) |
Condition.Builder |
mergeFrom(com.google.protobuf.Message other) |
Condition.Builder |
mergeLastTransitionTime(com.google.protobuf.Timestamp value)
Last time the condition transitioned from one status to another.
|
Condition.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Condition.Builder |
setExecutionReason(Condition.ExecutionReason value)
Output only.
|
Condition.Builder |
setExecutionReasonValue(int value)
Output only.
|
Condition.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Condition.Builder |
setLastTransitionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time the condition transitioned from one status to another.
|
Condition.Builder |
setLastTransitionTime(com.google.protobuf.Timestamp value)
Last time the condition transitioned from one status to another.
|
Condition.Builder |
setMessage(String value)
Human readable message indicating details about the current status.
|
Condition.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
Human readable message indicating details about the current status.
|
Condition.Builder |
setReason(Condition.CommonReason value)
Output only.
|
Condition.Builder |
setReasonValue(int value)
Output only.
|
Condition.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Condition.Builder |
setRevisionReason(Condition.RevisionReason value)
Output only.
|
Condition.Builder |
setRevisionReasonValue(int value)
Output only.
|
Condition.Builder |
setSeverity(Condition.Severity value)
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5; |
Condition.Builder |
setSeverityValue(int value)
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5; |
Condition.Builder |
setState(Condition.State value)
State of the condition.
|
Condition.Builder |
setStateValue(int value)
State of the condition.
|
Condition.Builder |
setType(String value)
type is used to communicate the status of the reconciliation process.
|
Condition.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
type is used to communicate the status of the reconciliation process.
|
Condition.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Condition build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Condition buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Condition.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Condition.Builder>public Condition.Builder mergeFrom(Condition other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public Condition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Condition.Builder>IOExceptionpublic Condition.ReasonsCase getReasonsCase()
getReasonsCase in interface ConditionOrBuilderpublic Condition.Builder clearReasons()
public 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 Condition.Builder setType(String value)
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;value - The type to set.public Condition.Builder clearType()
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;public Condition.Builder setTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for type to set.public int getStateValue()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;getStateValue in interface ConditionOrBuilderpublic Condition.Builder setStateValue(int value)
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;value - The enum numeric value on the wire for state to set.public Condition.State getState()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;getState in interface ConditionOrBuilderpublic Condition.Builder setState(Condition.State value)
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;value - The state to set.public Condition.Builder clearState()
State of the condition.
.google.cloud.run.v2.Condition.State state = 2;public 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 Condition.Builder setMessage(String value)
Human readable message indicating details about the current status.
string message = 3;value - The message to set.public Condition.Builder clearMessage()
Human readable message indicating details about the current status.
string message = 3;public Condition.Builder setMessageBytes(com.google.protobuf.ByteString value)
Human readable message indicating details about the current status.
string message = 3;value - The bytes for message to set.public 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 Condition.Builder setLastTransitionTime(com.google.protobuf.Timestamp value)
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;public Condition.Builder setLastTransitionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;public Condition.Builder mergeLastTransitionTime(com.google.protobuf.Timestamp value)
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;public Condition.Builder clearLastTransitionTime()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;public com.google.protobuf.Timestamp.Builder getLastTransitionTimeBuilder()
Last time the condition transitioned from one status to another.
.google.protobuf.Timestamp last_transition_time = 4;public 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.Builder setSeverityValue(int value)
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;value - The enum numeric value on the wire for severity to set.public 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 Condition.Builder setSeverity(Condition.Severity value)
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;value - The severity to set.public Condition.Builder clearSeverity()
How to interpret failures of this condition, one of Error, Warning, Info
.google.cloud.run.v2.Condition.Severity severity = 5;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];
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.Builder setReasonValue(int value)
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for reason to set.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];
getReason in interface ConditionOrBuilderpublic Condition.Builder setReason(Condition.CommonReason value)
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The reason to set.public Condition.Builder clearReason()
Output only. A common (service-level) reason for this condition.
.google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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.Builder setRevisionReasonValue(int value)
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for revisionReason to set.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];
getRevisionReason in interface ConditionOrBuilderpublic Condition.Builder setRevisionReason(Condition.RevisionReason value)
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The revisionReason to set.public Condition.Builder clearRevisionReason()
Output only. A reason for the revision condition.
.google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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.Builder setExecutionReasonValue(int value)
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for executionReason to set.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];
getExecutionReason in interface ConditionOrBuilderpublic Condition.Builder setExecutionReason(Condition.ExecutionReason value)
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The executionReason to set.public Condition.Builder clearExecutionReason()
Output only. A reason for the execution condition.
.google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Condition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>public final Condition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.Builder>Copyright © 2025 Google LLC. All rights reserved.