public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
<pre>
The type of this state error.
</pre>

<code>.google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2;</code>

@return The type.
java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java