Skip to content

Commit 079d1f5

Browse files
committed
chore: update goldens
1 parent 4aa17c4 commit 079d1f5

File tree

36 files changed

+954
-0
lines changed

36 files changed

+954
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.apigeeconnect.v1.stub;
18+
19+
import com.google.api.core.BetaApi;
20+
import com.google.api.core.InternalApi;
21+
import com.google.api.gax.tracing.ApiTracerContext;
22+
import javax.annotation.Generated;
23+
24+
@InternalApi
25+
@BetaApi
26+
@Generated("by gapic-generator-java")
27+
public class ConnectionServiceApiTracerContext extends ApiTracerContext {
28+
private final String serverAddress;
29+
30+
private ConnectionServiceApiTracerContext(String serverAddress) {
31+
this.serverAddress = serverAddress;
32+
}
33+
34+
public static ConnectionServiceApiTracerContext create(String serverAddress) {
35+
return new ConnectionServiceApiTracerContext(serverAddress);
36+
}
37+
38+
@Override
39+
public String getServerAddress() {
40+
return serverAddress;
41+
}
42+
43+
@Override
44+
public String getRepo() {
45+
return null;
46+
}
47+
}

test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import com.google.api.gax.rpc.TransportChannelProvider;
4545
import com.google.api.gax.rpc.UnaryCallSettings;
4646
import com.google.api.gax.rpc.UnaryCallable;
47+
import com.google.api.gax.tracing.ApiTracerContext;
4748
import com.google.cloud.apigeeconnect.v1.Connection;
4849
import com.google.cloud.apigeeconnect.v1.ListConnectionsRequest;
4950
import com.google.cloud.apigeeconnect.v1.ListConnectionsResponse;
@@ -292,6 +293,11 @@ protected ConnectionServiceStubSettings(Builder settingsBuilder) throws IOExcept
292293
listConnectionsSettings = settingsBuilder.listConnectionsSettings().build();
293294
}
294295

296+
@Override
297+
protected ApiTracerContext getApiTracerContext(String serverAddress) {
298+
return ConnectionServiceApiTracerContext.create(serverAddress);
299+
}
300+
295301
/** Builder for ConnectionServiceStubSettings. */
296302
public static class Builder extends StubSettings.Builder<ConnectionServiceStubSettings, Builder> {
297303
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.apigeeconnect.v1.stub;
18+
19+
import com.google.api.core.BetaApi;
20+
import com.google.api.core.InternalApi;
21+
import com.google.api.gax.tracing.ApiTracerContext;
22+
import javax.annotation.Generated;
23+
24+
@InternalApi
25+
@BetaApi
26+
@Generated("by gapic-generator-java")
27+
public class TetherApiTracerContext extends ApiTracerContext {
28+
private final String serverAddress;
29+
30+
private TetherApiTracerContext(String serverAddress) {
31+
this.serverAddress = serverAddress;
32+
}
33+
34+
public static TetherApiTracerContext create(String serverAddress) {
35+
return new TetherApiTracerContext(serverAddress);
36+
}
37+
38+
@Override
39+
public String getServerAddress() {
40+
return serverAddress;
41+
}
42+
43+
@Override
44+
public String getRepo() {
45+
return null;
46+
}
47+
}

test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import com.google.api.gax.rpc.StubSettings;
3333
import com.google.api.gax.rpc.TransportChannelProvider;
3434
import com.google.api.gax.rpc.UnaryCallSettings;
35+
import com.google.api.gax.tracing.ApiTracerContext;
3536
import com.google.cloud.apigeeconnect.v1.EgressRequest;
3637
import com.google.cloud.apigeeconnect.v1.EgressResponse;
3738
import com.google.common.collect.ImmutableList;
@@ -191,6 +192,11 @@ protected TetherStubSettings(Builder settingsBuilder) throws IOException {
191192
egressSettings = settingsBuilder.egressSettings().build();
192193
}
193194

195+
@Override
196+
protected ApiTracerContext getApiTracerContext(String serverAddress) {
197+
return TetherApiTracerContext.create(serverAddress);
198+
}
199+
194200
/** Builder for TetherStubSettings. */
195201
public static class Builder extends StubSettings.Builder<TetherStubSettings, Builder> {
196202
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.asset.v1.stub;
18+
19+
import com.google.api.core.BetaApi;
20+
import com.google.api.core.InternalApi;
21+
import com.google.api.gax.tracing.ApiTracerContext;
22+
import javax.annotation.Generated;
23+
24+
@InternalApi
25+
@BetaApi
26+
@Generated("by gapic-generator-java")
27+
public class AssetServiceApiTracerContext extends ApiTracerContext {
28+
private final String serverAddress;
29+
30+
private AssetServiceApiTracerContext(String serverAddress) {
31+
this.serverAddress = serverAddress;
32+
}
33+
34+
public static AssetServiceApiTracerContext create(String serverAddress) {
35+
return new AssetServiceApiTracerContext(serverAddress);
36+
}
37+
38+
@Override
39+
public String getServerAddress() {
40+
return serverAddress;
41+
}
42+
43+
@Override
44+
public String getRepo() {
45+
return null;
46+
}
47+
}

test/integration/goldens/asset/src/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
import com.google.api.gax.rpc.TransportChannelProvider;
5252
import com.google.api.gax.rpc.UnaryCallSettings;
5353
import com.google.api.gax.rpc.UnaryCallable;
54+
import com.google.api.gax.tracing.ApiTracerContext;
5455
import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata;
5556
import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest;
5657
import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse;
@@ -725,6 +726,11 @@ protected AssetServiceStubSettings(Builder settingsBuilder) throws IOException {
725726
settingsBuilder.batchGetEffectiveIamPoliciesSettings().build();
726727
}
727728

729+
@Override
730+
protected ApiTracerContext getApiTracerContext(String serverAddress) {
731+
return AssetServiceApiTracerContext.create(serverAddress);
732+
}
733+
728734
/** Builder for AssetServiceStubSettings. */
729735
public static class Builder extends StubSettings.Builder<AssetServiceStubSettings, Builder> {
730736
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.bigtable.data.v2.stub;
18+
19+
import com.google.api.core.BetaApi;
20+
import com.google.api.core.InternalApi;
21+
import com.google.api.gax.tracing.ApiTracerContext;
22+
import javax.annotation.Generated;
23+
24+
@InternalApi
25+
@BetaApi
26+
@Generated("by gapic-generator-java")
27+
public class BigtableApiTracerContext extends ApiTracerContext {
28+
private final String serverAddress;
29+
30+
private BigtableApiTracerContext(String serverAddress) {
31+
this.serverAddress = serverAddress;
32+
}
33+
34+
public static BigtableApiTracerContext create(String serverAddress) {
35+
return new BigtableApiTracerContext(serverAddress);
36+
}
37+
38+
@Override
39+
public String getServerAddress() {
40+
return serverAddress;
41+
}
42+
43+
@Override
44+
public String getRepo() {
45+
return null;
46+
}
47+
}

test/integration/goldens/bigtable/src/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import com.google.api.gax.rpc.StubSettings;
3333
import com.google.api.gax.rpc.TransportChannelProvider;
3434
import com.google.api.gax.rpc.UnaryCallSettings;
35+
import com.google.api.gax.tracing.ApiTracerContext;
3536
import com.google.bigtable.v2.CheckAndMutateRowRequest;
3637
import com.google.bigtable.v2.CheckAndMutateRowResponse;
3738
import com.google.bigtable.v2.MutateRowRequest;
@@ -257,6 +258,11 @@ protected BigtableStubSettings(Builder settingsBuilder) throws IOException {
257258
readModifyWriteRowSettings = settingsBuilder.readModifyWriteRowSettings().build();
258259
}
259260

261+
@Override
262+
protected ApiTracerContext getApiTracerContext(String serverAddress) {
263+
return BigtableApiTracerContext.create(serverAddress);
264+
}
265+
260266
/** Builder for BigtableStubSettings. */
261267
public static class Builder extends StubSettings.Builder<BigtableStubSettings, Builder> {
262268
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.compute.v1small.stub;
18+
19+
import com.google.api.core.BetaApi;
20+
import com.google.api.core.InternalApi;
21+
import com.google.api.gax.tracing.ApiTracerContext;
22+
import javax.annotation.Generated;
23+
24+
@InternalApi
25+
@BetaApi
26+
@Generated("by gapic-generator-java")
27+
public class AddressesApiTracerContext extends ApiTracerContext {
28+
private final String serverAddress;
29+
30+
private AddressesApiTracerContext(String serverAddress) {
31+
this.serverAddress = serverAddress;
32+
}
33+
34+
public static AddressesApiTracerContext create(String serverAddress) {
35+
return new AddressesApiTracerContext(serverAddress);
36+
}
37+
38+
@Override
39+
public String getServerAddress() {
40+
return serverAddress;
41+
}
42+
43+
@Override
44+
public String getRepo() {
45+
return null;
46+
}
47+
}

test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/AddressesStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import com.google.api.gax.rpc.TransportChannelProvider;
4646
import com.google.api.gax.rpc.UnaryCallSettings;
4747
import com.google.api.gax.rpc.UnaryCallable;
48+
import com.google.api.gax.tracing.ApiTracerContext;
4849
import com.google.cloud.compute.v1small.Address;
4950
import com.google.cloud.compute.v1small.AddressAggregatedList;
5051
import com.google.cloud.compute.v1small.AddressList;
@@ -400,6 +401,11 @@ protected AddressesStubSettings(Builder settingsBuilder) throws IOException {
400401
listSettings = settingsBuilder.listSettings().build();
401402
}
402403

404+
@Override
405+
protected ApiTracerContext getApiTracerContext(String serverAddress) {
406+
return AddressesApiTracerContext.create(serverAddress);
407+
}
408+
403409
/** Builder for AddressesStubSettings. */
404410
public static class Builder extends StubSettings.Builder<AddressesStubSettings, Builder> {
405411
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;

0 commit comments

Comments
 (0)