@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 (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getCreateTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(3, getUpdateTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
    }
    if (state_
        != com.google.cloud.vmwareengine.v1.PrivateConnection.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(5, state_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmwareEngineNetwork_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, vmwareEngineNetwork_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmwareEngineNetworkCanonical_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, vmwareEngineNetworkCanonical_);
    }
    if (type_
        != com.google.cloud.vmwareengine.v1.PrivateConnection.Type.TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(10, type_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peeringId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, peeringId_);
    }
    if (routingMode_
        != com.google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode.ROUTING_MODE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(13, routingMode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, uid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceNetwork_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, serviceNetwork_);
    }
    if (peeringState_
        != com.google.cloud.vmwareengine.v1.PrivateConnection.PeeringState.PEERING_STATE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(17, peeringState_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. Peering state between service network and VMware Engine
network.
</pre>

<code>
.google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The peeringState.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateConnection.java