@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, network_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ipCidrRange_);
    }
    if (state_ != com.google.cloud.vpcaccess.v1.Connector.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(4, state_);
    }
    if (minThroughput_ != 0) {
      output.writeInt32(5, minThroughput_);
    }
    if (maxThroughput_ != 0) {
      output.writeInt32(6, maxThroughput_);
    }
    for (int i = 0; i < connectedProjects_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, connectedProjects_.getRaw(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(8, getSubnet());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, machineType_);
    }
    if (minInstances_ != 0) {
      output.writeInt32(11, minInstances_);
    }
    if (maxInstances_ != 0) {
      output.writeInt32(12, maxInstances_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Maximum value of instances in autoscaling group underlying the connector.
</pre>

<code>int32 max_instances = 12;</code>

@return The maxInstances.
java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/Connector.java