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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexEndpoint_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexEndpoint_);
    }
    if (queryCase_ == 2) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              2, (com.google.cloud.visionai.v1.ImageQuery) query_);
    }
    if (queryCase_ == 3) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, query_);
    }
    for (int i = 0; i < criteria_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, criteria_.get(i));
    }
    if (pageSize_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_);
    }
    for (int i = 0; i < exclusionCriteria_.size(); i++) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(7, exclusionCriteria_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
The continuation token to fetch the next page. If empty, it means it is
fetching the first page.
</pre>

<code>string page_token = 6;</code>

@return The bytes for pageToken.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchIndexEndpointRequest.java