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 class
Execution.Builder
Execution 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 int
ANNOTATIONS_FIELD_NUMBER
static int
CANCELLED_COUNT_FIELD_NUMBER
static int
COMPLETION_TIME_FIELD_NUMBER
static int
CONDITIONS_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DELETE_TIME_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
EXPIRE_TIME_FIELD_NUMBER
static int
FAILED_COUNT_FIELD_NUMBER
static int
GENERATION_FIELD_NUMBER
static int
JOB_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LAUNCH_STAGE_FIELD_NUMBER
static int
LOG_URI_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OBSERVED_GENERATION_FIELD_NUMBER
static int
PARALLELISM_FIELD_NUMBER
static int
RECONCILING_FIELD_NUMBER
static int
RETRIED_COUNT_FIELD_NUMBER
static int
RUNNING_COUNT_FIELD_NUMBER
static int
SATISFIES_PZS_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
static int
SUCCEEDED_COUNT_FIELD_NUMBER
static int
TASK_COUNT_FIELD_NUMBER
static int
TEMPLATE_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Output only.boolean
containsLabels(String key)
Output only.boolean
equals(Object obj)
Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Output only.Map<String,String>
getAnnotationsMap()
Output only.String
getAnnotationsOrDefault(String key, String defaultValue)
Output only.String
getAnnotationsOrThrow(String key)
Output only.int
getCancelledCount()
Output only.com.google.protobuf.Timestamp
getCompletionTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCompletionTimeOrBuilder()
Output only.Condition
getConditions(int index)
Output only.int
getConditionsCount()
Output only.List<Condition>
getConditionsList()
Output only.ConditionOrBuilder
getConditionsOrBuilder(int index)
Output only.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Execution
getDefaultInstance()
Execution
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.int
getFailedCount()
Output only.long
getGeneration()
Output only.String
getJob()
Output only.com.google.protobuf.ByteString
getJobBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Output only.Map<String,String>
getLabelsMap()
Output only.String
getLabelsOrDefault(String key, String defaultValue)
Output only.String
getLabelsOrThrow(String key)
Output only.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).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).String
getLogUri()
Output only.com.google.protobuf.ByteString
getLogUriBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.long
getObservedGeneration()
Output only.int
getParallelism()
Output only.com.google.protobuf.Parser<Execution>
getParserForType()
boolean
getReconciling()
Output only.int
getRetriedCount()
Output only.int
getRunningCount()
Output only.boolean
getSatisfiesPzs()
Output only.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.int
getSucceededCount()
Output only.int
getTaskCount()
Output only.TaskTemplate
getTemplate()
Output only.TaskTemplateOrBuilder
getTemplateOrBuilder()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCompletionTime()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasExpireTime()
Output only.int
hashCode()
boolean
hasStartTime()
Output only.boolean
hasTemplate()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Execution.Builder
newBuilder()
static Execution.Builder
newBuilder(Execution prototype)
Execution.Builder
newBuilderForType()
protected Execution.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Execution
parseDelimitedFrom(InputStream input)
static Execution
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(byte[] data)
static Execution
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(com.google.protobuf.ByteString data)
static Execution
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(com.google.protobuf.CodedInputStream input)
static Execution
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(InputStream input)
static Execution
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(ByteBuffer data)
static Execution
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Execution>
parser()
Execution.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
getGeneration
in interfaceExecutionOrBuilder
- Returns:
- The generation.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ExecutionOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceExecutionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceExecutionOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ExecutionOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceExecutionOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasCompletionTime
in 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:
getCompletionTime
in 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:
getCompletionTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasDeleteTime
in 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:
getDeleteTime
in 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:
getDeleteTimeOrBuilder
in 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:
hasExpireTime
in 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:
getExpireTime
in 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:
getExpireTimeOrBuilder
in 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:
getLaunchStageValue
in 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:
getLaunchStage
in 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:
getJob
in 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:
getJobBytes
in 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:
getParallelism
in 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:
getTaskCount
in 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:
hasTemplate
in 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:
getTemplate
in 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:
getTemplateOrBuilder
in 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:
getReconciling
in 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:
getConditionsList
in 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:
getConditionsOrBuilderList
in 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:
getConditionsCount
in 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:
getConditions
in 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:
getConditionsOrBuilder
in 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:
getObservedGeneration
in 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:
getRunningCount
in 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:
getSucceededCount
in 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:
getFailedCount
in 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:
getCancelledCount
in 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:
getRetriedCount
in 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:
getLogUri
in 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:
getLogUriBytes
in 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:
getSatisfiesPzs
in 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:
getEtag
in 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:
getEtagBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Execution.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Execution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-