public Builder setLocaleBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      locale_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
The language code for the locale in which the entity textual
`description` is expressed.
</pre>

<code>string locale = 2;</code>

@param value The bytes for locale to set.
@return This builder for chaining.
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java