@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (constraintType_
        != com.google.cloud.speech.v2.AccessMetadata.ConstraintType.CONSTRAINT_TYPE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(1, constraintType_);
    }
    getUnknownFields().writeTo(output);
  }
<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