public ClientConfig setLabels ( Set < String > labels ) { Preconditions . isNotNull ( labels , "labels" ) ; this . labels . clear ( ) ; this . labels . addAll ( labels ) ; return this ; }
Set labels for the client . Deletes old labels if added earlier .