public String getProtocol() {
        return this.protocol;
    }
<p>
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not
supported if the target group type is <code>LAMBDA</code>.
</p>

@return The protocol to use for routing traffic to the targets. The default is the protocol of the target group.
        Not supported if the target group type is <code>LAMBDA</code>.
@see TargetGroupProtocol
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/TargetGroupConfig.java