public static ByteString valueOfUtf8(final CharSequence s){
  if (s.length() == 0) {
    return EMPTY;
  }
  return wrap(StaticUtils.getBytes(s));
}

public static ByteString valueOfUtf8 ( final CharSequence s ) { if ( s . length ( ) == 0 ) { return EMPTY ; } return wrap ( StaticUtils . getBytes ( s ) ) ; }
returns a byte string containing the utf - 8 encoded bytes of the provided char sequence .
