public Optional<Output<String>> protocol() {
        return Optional.ofNullable(this.protocol);
    }
@return Optional.  The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/inputs/NetworkPolicyPortArgs.java