@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.workflows.v1.Workflow.StateError)) {
        return super.equals(obj);
      }
      com.google.cloud.workflows.v1.Workflow.StateError other =
          (com.google.cloud.workflows.v1.Workflow.StateError) obj;

      if (!getDetails().equals(other.getDetails())) return false;
      if (type_ != other.type_) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
The type of this state error.
</pre>

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

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