public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      query_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Required. The query used to generate suggestions.

The maximum number of allowed characters is 255.
</pre>

<code>string query = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@param value The bytes for query to set.
@return This builder for chaining.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java