@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getStartTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(3, getEndTime());
    }
    if (state_
        != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(4, state_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(7, getError());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_);
    }
    if (callLogLevel_
        != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel
            .CALL_LOG_LEVEL_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(9, callLogLevel_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeMessage(10, getStatus());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11);
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(12, getDuration());
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      output.writeMessage(13, getStateError());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. Error regarding the state of the Execution resource. For
example, this field will have error details if the execution data is
unavailable due to revoked KMS key permissions.
</pre>

<code>
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.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