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

    if (constraintType_ != other.constraintType_) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Describes the different types of constraints that are applied.
</pre>

<code>.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;</code>

@return The constraintType.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/AccessMetadata.java