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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsAccessKey());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roleArn_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, roleArn_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudfrontDomain_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cloudfrontDomain_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credentialsSecret_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, credentialsSecret_);
      }
      if (privateNetworkCase_ == 8) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(
                8, (boolean) ((java.lang.Boolean) privateNetwork_));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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