public Builder mergeFrom(com.google.cloud.vertexai.api.ExamplesOverride other) {
      if (other == com.google.cloud.vertexai.api.ExamplesOverride.getDefaultInstance()) return this;
      if (other.getNeighborCount() != 0) {
        setNeighborCount(other.getNeighborCount());
      }
      if (other.getCrowdingCount() != 0) {
        setCrowdingCount(other.getCrowdingCount());
      }
      if (restrictionsBuilder_ == null) {
        if (!other.restrictions_.isEmpty()) {
          if (restrictions_.isEmpty()) {
            restrictions_ = other.restrictions_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureRestrictionsIsMutable();
            restrictions_.addAll(other.restrictions_);
          }
          onChanged();
        }
      } else {
        if (!other.restrictions_.isEmpty()) {
          if (restrictionsBuilder_.isEmpty()) {
            restrictionsBuilder_.dispose();
            restrictionsBuilder_ = null;
            restrictions_ = other.restrictions_;
            bitField0_ = (bitField0_ & ~0x00000004);
            restrictionsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getRestrictionsFieldBuilder()
                    : null;
          } else {
            restrictionsBuilder_.addAllMessages(other.restrictions_);
          }
        }
      }
      if (other.getReturnEmbeddings() != false) {
        setReturnEmbeddings(other.getReturnEmbeddings());
      }
      if (other.dataFormat_ != 0) {
        setDataFormatValue(other.getDataFormatValue());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Overrides for example-based explanations.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.ExamplesOverride}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java