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

    size = 0;
    if (type_ != com.google.cloud.vertexai.api.Type.TYPE_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getItems());
    }
    for (java.util.Map.Entry<java.lang.String, com.google.cloud.vertexai.api.Schema> entry :
        internalGetProperties().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, com.google.cloud.vertexai.api.Schema>
          properties__ =
              PropertiesDefaultEntryHolder.defaultEntry
                  .newBuilderForType()
                  .setKey(entry.getKey())
                  .setValue(entry.getValue())
                  .build();
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, properties__);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExample());
    }
    {
      int dataSize = 0;
      for (int i = 0; i < required_.size(); i++) {
        dataSize += computeStringSizeNoTag(required_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getRequiredList().size();
    }
    if (nullable_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, nullable_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, format_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < enum_.size(); i++) {
        dataSize += computeStringSizeNoTag(enum_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getEnumList().size();
    }
    for (int i = 0; i < anyOf_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, anyOf_.get(i));
    }
    if (minProperties_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, minProperties_);
    }
    if (maxProperties_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(15, maxProperties_);
    }
    if (java.lang.Double.doubleToRawLongBits(minimum_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(16, minimum_);
    }
    if (java.lang.Double.doubleToRawLongBits(maximum_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(17, maximum_);
    }
    if (minLength_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(18, minLength_);
    }
    if (maxLength_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(19, maxLength_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pattern_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, pattern_);
    }
    if (minItems_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(21, minItems_);
    }
    if (maxItems_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(22, maxItems_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getDefault());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, title_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < propertyOrdering_.size(); i++) {
        dataSize += computeStringSizeNoTag(propertyOrdering_.getRaw(i));
      }
      size += dataSize;
      size += 2 * getPropertyOrderingList().size();
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Optional. The value should be validated against any (one or more) of the
subschemas in the list.
</pre>

<code>
repeated .google.cloud.vertexai.v1.Schema any_of = 11 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Schema.java