public static final TraceServiceSettings create(TraceServiceStubSettings stub)
      throws IOException {
    return new TraceServiceSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to patchTraces.
java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java