@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (type_
        != com.google.cloud.tpu.v2alpha1.AcceleratorConfig.Type.TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(1, type_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topology_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topology_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Required. Topology of TPU in chips.
</pre>

<code>string topology = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for topology.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/AcceleratorConfig.java