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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeTypeId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeTypeId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
    }
    if (virtualCpuCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, virtualCpuCount_);
    }
    if (totalCoreCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCoreCount_);
    }
    if (memoryGb_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, memoryGb_);
    }
    if (diskSizeGb_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diskSizeGb_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < availableCustomCoreCounts_.size(); i++) {
        dataSize +=
            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
                availableCustomCoreCounts_.getInt(i));
      }
      size += dataSize;
      if (!getAvailableCustomCoreCountsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
      }
      availableCustomCoreCountsMemoizedSerializedSize = dataSize;
    }
    if (kind_ != com.google.cloud.vmwareengine.v1.NodeType.Kind.KIND_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, kind_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < families_.size(); i++) {
        dataSize += computeStringSizeNoTag(families_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getFamiliesList().size();
    }
    {
      int dataSize = 0;
      for (int i = 0; i < capabilities_.size(); i++) {
        dataSize +=
            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(capabilities_.get(i));
      }
      size += dataSize;
      if (!getCapabilitiesList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      capabilitiesMemoizedSerializedSize = dataSize;
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Output only. Capabilities of this node type.
</pre>

<code>
repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@param index The index of the value to return.
@return The enum numeric value on the wire of capabilities at the given index.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeType.java