Skip to content

Commit 1320276

Browse files
committed
fix: remove urlTemplate from tracing context
1 parent 6f28cc4 commit 1320276

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

gax-java/gax/src/main/java/com/google/api/gax/tracing/ApiTracerContext.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ String rpcSystemName() {
164164
@Nullable
165165
public abstract String urlDomain();
166166

167-
/** The url template of the request (e.g. /v1/{name}:access). */
168-
@Nullable
169-
public abstract String urlTemplate();
170-
171167
/** The destination resource name of the request (e.g. projects/p/locations/l/topics/t). */
172168
@Nullable
173169
public abstract String destinationResourceName();
@@ -282,9 +278,6 @@ ApiTracerContext merge(ApiTracerContext other) {
282278
if (!Strings.isNullOrEmpty(other.urlDomain())) {
283279
builder.setUrlDomain(other.urlDomain());
284280
}
285-
if (other.urlTemplate() != null) {
286-
builder.setUrlTemplate(other.urlTemplate());
287-
}
288281
if (other.destinationResourceName() != null) {
289282
builder.setDestinationResourceName(other.destinationResourceName());
290283
}
@@ -323,8 +316,6 @@ public abstract static class Builder {
323316

324317
public abstract Builder setUrlDomain(@Nullable String urlDomain);
325318

326-
public abstract Builder setUrlTemplate(@Nullable String urlTemplate);
327-
328319
public abstract Builder setDestinationResourceName(@Nullable String destinationResourceName);
329320

330321
public abstract ApiTracerContext build();

0 commit comments

Comments
 (0)