@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (constraintType_
        != com.google.cloud.speech.v2.AccessMetadata.ConstraintType.CONSTRAINT_TYPE_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, constraintType_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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