public Builder setConstraintType(
        com.google.cloud.speech.v2.AccessMetadata.ConstraintType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      constraintType_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Describes the different types of constraints that are applied.
</pre>

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

@param value The constraintType to set.
@return This builder for chaining.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/AccessMetadata.java