Skip to content

Commit ea7e7ec

Browse files
committed
feat(gax): add protobuf version to headers to track
1 parent 0037a0a commit ea7e7ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gax-java/gax/src/main/java/com/google/api/gax/rpc/ApiClientHeaderProvider.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
*/
4141
public class ApiClientHeaderProvider implements HeaderProvider, Serializable {
4242
private static final long serialVersionUID = -8876627296793342119L;
43-
private static final String GCCL_HEADER_VERSION_KEY = "gccl";
4443
static final String QUOTA_PROJECT_ID_HEADER_KEY = "x-goog-user-project";
4544
static final String PROTOBUF_HEADER_VERSION_KEY = "protobuf";
4645
public static final String API_VERSION_HEADER_KEY = "x-goog-api-version";
4746
public static final String GAPIC_HEADER_VERSION_KEY = "gapic";
47+
public static final String GCCL_HEADER_VERSION_KEY = "gccl";
4848

4949
private final Map<String, String> headers;
5050

@@ -182,8 +182,8 @@ public Builder setGeneratedLibToken(String name, String version) {
182182
}
183183

184184
private String getProtobufVersionToAppend() {
185-
// TODO(b:/366417603): appending protobuf version to gapic column is a temporary fix while
186-
// waiting for dedicated field to be added
185+
// TODO(b:/366417603): appending protobuf version to existing client library column is a temporary fix while
186+
// waiting for dedicated field to be added in concord
187187
return "--" + PROTOBUF_HEADER_VERSION_KEY + "-" + GaxProperties.getProtobufVersion();
188188
}
189189

0 commit comments

Comments
 (0)