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

    size = 0;
    if (bucketValueCase_ == 2) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              2, (com.google.cloud.visionai.v1.FacetValue) bucketValue_);
    }
    if (selected_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, selected_);
    }
    if (bucketValueCase_ == 4) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              4, (com.google.cloud.visionai.v1.FacetBucket.Range) bucketValue_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Whether one facet bucket is selected. This field represents user's facet
selection. It is set by frontend in SearchVideosRequest.
</pre>

<code>bool selected = 3;</code>

@return The selected.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetBucket.java