@Override
  public int hashCode() {
    return Objects.hash(portNumber, protocol);
  }
Gets the protocol.

@return the protocol
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/Port.java