public Builder protocol(@Nullable Output<String> protocol) {
            $.protocol = protocol;
            return this;
        }
@param protocol protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/inputs/NetworkPolicyPortPatchArgs.java