public Builder setError(
        com.google.cloud.workflows.executions.v1.Execution.Error.Builder builderForValue) {
      if (errorBuilder_ == null) {
        error_ = builderForValue.build();
      } else {
        errorBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
<pre>
Output only. The error which caused the execution to finish prematurely.
The value is only present if the execution's state is `FAILED`
or `CANCELLED`.
</pre>

<code>
.google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java