@java.lang.Override
    public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol
        getProtocol() {
      com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol
          result =
              com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol
                  .forNumber(protocol_);
      return result == null
          ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol
              .UNRECOGNIZED
          : result;
    }
<pre>
Specifies the network protocol of the agent. When not specified, the
default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
</pre>

<code>.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;</code>

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