@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(2, getAwsAccessKey());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roleArn_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, roleArn_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudfrontDomain_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cloudfrontDomain_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsSecret_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, credentialsSecret_);
      }
      if (privateNetworkCase_ == 8) {
        output.writeBool(8, (boolean) ((java.lang.Boolean) privateNetwork_));
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Egress bytes over a Google-managed private network.
This network is shared between other users of Storage Transfer Service.
</pre>

<code>bool managed_private_network = 8;</code>

@return The managedPrivateNetwork.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java