public Builder setTextBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      dataCase_ = 1;
      data_ = value;
      onChanged();
      return this;
    }
<pre>
Optional. Text part (can be code).
</pre>

<code>string text = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The bytes for text to set.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java