Package com.google.cloud.run.v2
Class Execution
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.run.v2.Execution
-
- All Implemented Interfaces:
ExecutionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Execution extends com.google.protobuf.GeneratedMessageV3 implements ExecutionOrBuilder
Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.
Protobuf typegoogle.cloud.run.v2.Execution- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecution.BuilderExecution represents the configuration of a single execution.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intCANCELLED_COUNT_FIELD_NUMBERstatic intCOMPLETION_TIME_FIELD_NUMBERstatic intCONDITIONS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDELETE_TIME_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intEXPIRE_TIME_FIELD_NUMBERstatic intFAILED_COUNT_FIELD_NUMBERstatic intGENERATION_FIELD_NUMBERstatic intJOB_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLAUNCH_STAGE_FIELD_NUMBERstatic intLOG_URI_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOBSERVED_GENERATION_FIELD_NUMBERstatic intPARALLELISM_FIELD_NUMBERstatic intRECONCILING_FIELD_NUMBERstatic intRETRIED_COUNT_FIELD_NUMBERstatic intRUNNING_COUNT_FIELD_NUMBERstatic intSATISFIES_PZS_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSUCCEEDED_COUNT_FIELD_NUMBERstatic intTASK_COUNT_FIELD_NUMBERstatic intTEMPLATE_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Output only.booleancontainsLabels(String key)Output only.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Output only.Map<String,String>getAnnotationsMap()Output only.StringgetAnnotationsOrDefault(String key, String defaultValue)Output only.StringgetAnnotationsOrThrow(String key)Output only.intgetCancelledCount()Output only.com.google.protobuf.TimestampgetCompletionTime()Output only.com.google.protobuf.TimestampOrBuildergetCompletionTimeOrBuilder()Output only.ConditiongetConditions(int index)Output only.intgetConditionsCount()Output only.List<Condition>getConditionsList()Output only.ConditionOrBuildergetConditionsOrBuilder(int index)Output only.List<? extends ConditionOrBuilder>getConditionsOrBuilderList()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static ExecutiongetDefaultInstance()ExecutiongetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.intgetFailedCount()Output only.longgetGeneration()Output only.StringgetJob()Output only.com.google.protobuf.ByteStringgetJobBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Output only.Map<String,String>getLabelsMap()Output only.StringgetLabelsOrDefault(String key, String defaultValue)Output only.StringgetLabelsOrThrow(String key)Output only.com.google.api.LaunchStagegetLaunchStage()The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).intgetLaunchStageValue()The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).StringgetLogUri()Output only.com.google.protobuf.ByteStringgetLogUriBytes()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.longgetObservedGeneration()Output only.intgetParallelism()Output only.com.google.protobuf.Parser<Execution>getParserForType()booleangetReconciling()Output only.intgetRetriedCount()Output only.intgetRunningCount()Output only.booleangetSatisfiesPzs()Output only.intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.intgetSucceededCount()Output only.intgetTaskCount()Output only.TaskTemplategetTemplate()Output only.TaskTemplateOrBuildergetTemplateOrBuilder()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCompletionTime()Output only.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasExpireTime()Output only.inthashCode()booleanhasStartTime()Output only.booleanhasTemplate()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Execution.BuildernewBuilder()static Execution.BuildernewBuilder(Execution prototype)Execution.BuildernewBuilderForType()protected Execution.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ExecutionparseDelimitedFrom(InputStream input)static ExecutionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionparseFrom(byte[] data)static ExecutionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionparseFrom(com.google.protobuf.ByteString data)static ExecutionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionparseFrom(com.google.protobuf.CodedInputStream input)static ExecutionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionparseFrom(InputStream input)static ExecutionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionparseFrom(ByteBuffer data)static ExecutionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Execution>parser()Execution.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPLETION_TIME_FIELD_NUMBER
public static final int COMPLETION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_FIELD_NUMBER
public static final int JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARALLELISM_FIELD_NUMBER
public static final int PARALLELISM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_COUNT_FIELD_NUMBER
public static final int TASK_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMPLATE_FIELD_NUMBER
public static final int TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSERVED_GENERATION_FIELD_NUMBER
public static final int OBSERVED_GENERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNNING_COUNT_FIELD_NUMBER
public static final int RUNNING_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCEEDED_COUNT_FIELD_NUMBER
public static final int SUCCEEDED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILED_COUNT_FIELD_NUMBER
public static final int FAILED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CANCELLED_COUNT_FIELD_NUMBER
public static final int CANCELLED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRIED_COUNT_FIELD_NUMBER
public static final int RETRIED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_URI_FIELD_NUMBER
public static final int LOG_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceExecutionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for name.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceExecutionOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for uid.
-
getGeneration
public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGenerationin interfaceExecutionOrBuilder- Returns:
- The generation.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ExecutionOrBuilderOutput only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsCountin interfaceExecutionOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsLabelsin interfaceExecutionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceExecutionOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsMapin interfaceExecutionOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsOrDefaultin interfaceExecutionOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelsOrThrowin interfaceExecutionOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ExecutionOrBuilderOutput only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnnotationsCountin interfaceExecutionOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsAnnotationsin interfaceExecutionOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceExecutionOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnnotationsMapin interfaceExecutionOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnnotationsOrDefaultin interfaceExecutionOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnnotationsOrThrowin interfaceExecutionOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExecutionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceExecutionOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceExecutionOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceExecutionOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceExecutionOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceExecutionOrBuilder
-
hasCompletionTime
public boolean hasCompletionTime()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompletionTimein interfaceExecutionOrBuilder- Returns:
- Whether the completionTime field is set.
-
getCompletionTime
public com.google.protobuf.Timestamp getCompletionTime()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompletionTimein interfaceExecutionOrBuilder- Returns:
- The completionTime.
-
getCompletionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompletionTimeOrBuilderin interfaceExecutionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceExecutionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceExecutionOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceExecutionOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceExecutionOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceExecutionOrBuilder- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceExecutionOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExpireTimein interfaceExecutionOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExpireTimein interfaceExecutionOrBuilder- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExpireTimeOrBuilderin interfaceExecutionOrBuilder
-
getLaunchStageValue
public int getLaunchStageValue()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;- Specified by:
getLaunchStageValuein interfaceExecutionOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
public com.google.api.LaunchStage getLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;- Specified by:
getLaunchStagein interfaceExecutionOrBuilder- Returns:
- The launchStage.
-
getJob
public String getJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getJobin interfaceExecutionOrBuilder- Returns:
- The job.
-
getJobBytes
public com.google.protobuf.ByteString getJobBytes()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getJobBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for job.
-
getParallelism
public int getParallelism()
Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.
int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParallelismin interfaceExecutionOrBuilder- Returns:
- The parallelism.
-
getTaskCount
public int getTaskCount()
Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.
int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTaskCountin interfaceExecutionOrBuilder- Returns:
- The taskCount.
-
hasTemplate
public boolean hasTemplate()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTemplatein interfaceExecutionOrBuilder- Returns:
- Whether the template field is set.
-
getTemplate
public TaskTemplate getTemplate()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTemplatein interfaceExecutionOrBuilder- Returns:
- The template.
-
getTemplateOrBuilder
public TaskTemplateOrBuilder getTemplateOrBuilder()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTemplateOrBuilderin interfaceExecutionOrBuilder
-
getReconciling
public boolean getReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceExecutionOrBuilder- Returns:
- The reconciling.
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsListin interfaceExecutionOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderListin interfaceExecutionOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsCountin interfaceExecutionOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsin interfaceExecutionOrBuilder
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrBuilderin interfaceExecutionOrBuilder
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Execution. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getObservedGenerationin interfaceExecutionOrBuilder- Returns:
- The observedGeneration.
-
getRunningCount
public int getRunningCount()
Output only. The number of actively running tasks.
int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRunningCountin interfaceExecutionOrBuilder- Returns:
- The runningCount.
-
getSucceededCount
public int getSucceededCount()
Output only. The number of tasks which reached phase Succeeded.
int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSucceededCountin interfaceExecutionOrBuilder- Returns:
- The succeededCount.
-
getFailedCount
public int getFailedCount()
Output only. The number of tasks which reached phase Failed.
int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailedCountin interfaceExecutionOrBuilder- Returns:
- The failedCount.
-
getCancelledCount
public int getCancelledCount()
Output only. The number of tasks which reached phase Cancelled.
int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCancelledCountin interfaceExecutionOrBuilder- Returns:
- The cancelledCount.
-
getRetriedCount
public int getRetriedCount()
Output only. The number of tasks which have retried at least once.
int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRetriedCountin interfaceExecutionOrBuilder- Returns:
- The retriedCount.
-
getLogUri
public String getLogUri()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogUriin interfaceExecutionOrBuilder- Returns:
- The logUri.
-
getLogUriBytes
public com.google.protobuf.ByteString getLogUriBytes()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogUriBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for logUri.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceExecutionOrBuilder- Returns:
- The satisfiesPzs.
-
getEtag
public String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceExecutionOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Execution parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Execution parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Execution parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Execution parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Execution parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Execution parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Execution parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Execution.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Execution.Builder newBuilder()
-
newBuilder
public static Execution.Builder newBuilder(Execution prototype)
-
toBuilder
public Execution.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Execution.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Execution getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Execution> parser()
-
getParserForType
public com.google.protobuf.Parser<Execution> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Execution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-