Interface ExecutionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Execution, Execution.Builder

    public interface ExecutionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. The unique name of this Execution.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The unique name of this Execution.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getUid

        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];
        Returns:
        The uid.
      • getUidBytes

        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];
        Returns:
        The bytes for uid.
      • getGeneration

        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];
        Returns:
        The generation.
      • getLabelsCount

        int getLabelsCount()
         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];
      • containsLabels

        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];
      • getLabelsMap

        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];
      • getLabelsOrDefault

        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];
      • getLabelsOrThrow

        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];
      • getAnnotationsCount

        int getAnnotationsCount()
         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];
      • containsAnnotations

        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];
      • getAnnotationsMap

        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];
      • getAnnotationsOrDefault

        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];
      • getAnnotationsOrThrow

        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];
      • hasCreateTime

        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];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        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];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        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];
      • hasStartTime

        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];
        Returns:
        Whether the startTime field is set.
      • getStartTime

        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];
        Returns:
        The startTime.
      • getStartTimeOrBuilder

        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];
      • hasCompletionTime

        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];
        Returns:
        Whether the completionTime field is set.
      • getCompletionTime

        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];
        Returns:
        The completionTime.
      • getCompletionTimeOrBuilder

        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];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasDeleteTime

        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];
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        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];
        Returns:
        The deleteTime.
      • getDeleteTimeOrBuilder

        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];
      • hasExpireTime

        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];
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        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];
        Returns:
        The expireTime.
      • getExpireTimeOrBuilder

        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];
      • getLaunchStageValue

        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;
        Returns:
        The enum numeric value on the wire for launchStage.
      • getLaunchStage

        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;
        Returns:
        The launchStage.
      • getJob

        String getJob()
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The job.
      • getJobBytes

        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) = { ... }
        Returns:
        The bytes for job.
      • getParallelism

        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];
        Returns:
        The parallelism.
      • getTaskCount

        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];
        Returns:
        The taskCount.
      • hasTemplate

        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];
        Returns:
        Whether the template field is set.
      • getTemplate

        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];
        Returns:
        The template.
      • getTemplateOrBuilder

        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];
      • getReconciling

        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];
        Returns:
        The reconciling.
      • getConditionsList

        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];
      • getConditions

        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];
      • getConditionsCount

        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];
      • getConditionsOrBuilderList

        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];
      • getConditionsOrBuilder

        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];
      • getObservedGeneration

        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];
        Returns:
        The observedGeneration.
      • getRunningCount

        int getRunningCount()
         Output only. The number of actively running tasks.
         
        int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The runningCount.
      • getSucceededCount

        int getSucceededCount()
         Output only. The number of tasks which reached phase Succeeded.
         
        int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The succeededCount.
      • getFailedCount

        int getFailedCount()
         Output only. The number of tasks which reached phase Failed.
         
        int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The failedCount.
      • getCancelledCount

        int getCancelledCount()
         Output only. The number of tasks which reached phase Cancelled.
         
        int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The cancelledCount.
      • getRetriedCount

        int getRetriedCount()
         Output only. The number of tasks which have retried at least once.
         
        int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The retriedCount.
      • getLogUri

        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];
        Returns:
        The logUri.
      • getLogUriBytes

        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];
        Returns:
        The bytes for logUri.
      • getSatisfiesPzs

        boolean getSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The satisfiesPzs.
      • getEtag

        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];
        Returns:
        The etag.
      • getEtagBytes

        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];
        Returns:
        The bytes for etag.