/** * Constructs an instance of TraceServiceClient, using the given settings. The channels are * created based on the settings passed in, or defaults for any settings that are not set. */ public static final TraceServiceClient create(TraceServiceSettings settings) throws IOException { return new TraceServiceClient(settings); }
/** * Constructs an instance of TraceServiceClient, using the given stub for making calls. This is * for advanced usage - prefer to use TraceServiceSettings}. */ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final TraceServiceClient create(TraceServiceStub stub) { return new TraceServiceClient(stub); }