public Optional<String> protocol() {
        return Optional.ofNullable(this.protocol);
    }
@return protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/outputs/EndpointPort.java