Skip to content

Commit 09b2eab

Browse files
chore: generate libraries at Wed Apr 8 20:04:56 UTC 2026
1 parent 552d988 commit 09b2eab

24 files changed

Lines changed: 1841 additions & 250 deletions

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@
4646

4747
// AUTO-GENERATED DOCUMENTATION AND CLASS.
4848
/**
49-
* This class provides the ability to make remote calls to the backing service through method calls
50-
* that map to API methods. Sample code to get started:
49+
* Service Description: A service that enables testing of unary and server streaming calls by
50+
* specifying a specific, predictable sequence of responses from the service
51+
*
52+
* <p>This class provides the ability to make remote calls to the backing service through method
53+
* calls that map to API methods. Sample code to get started:
5154
*
5255
* <pre>{@code
5356
* // This snippet has been automatically generated and should be regarded as a code template only.
@@ -74,7 +77,7 @@
7477
* </tr>
7578
* <tr>
7679
* <td><p> CreateSequence</td>
77-
* <td><p> Creates a sequence.</td>
80+
* <td><p> Create a sequence of responses to be returned as unary calls</td>
7881
* <td>
7982
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
8083
* <ul>
@@ -92,7 +95,7 @@
9295
* </tr>
9396
* <tr>
9497
* <td><p> CreateStreamingSequence</td>
95-
* <td><p> Creates a sequence.</td>
98+
* <td><p> Creates a sequence of responses to be returned in a server streaming call</td>
9699
* <td>
97100
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
98101
* <ul>
@@ -110,7 +113,7 @@
110113
* </tr>
111114
* <tr>
112115
* <td><p> GetSequenceReport</td>
113-
* <td><p> Retrieves a sequence.</td>
116+
* <td><p> Retrieves a sequence report which can be used to retrieve information about a sequence of unary calls.</td>
114117
* <td>
115118
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
116119
* <ul>
@@ -129,7 +132,7 @@
129132
* </tr>
130133
* <tr>
131134
* <td><p> GetStreamingSequenceReport</td>
132-
* <td><p> Retrieves a sequence.</td>
135+
* <td><p> Retrieves a sequence report which can be used to retrieve information about a sequences of responses in a server streaming call.</td>
133136
* <td>
134137
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
135138
* <ul>
@@ -148,7 +151,7 @@
148151
* </tr>
149152
* <tr>
150153
* <td><p> AttemptSequence</td>
151-
* <td><p> Attempts a sequence.</td>
154+
* <td><p> Attempts a sequence of unary responses.</td>
152155
* <td>
153156
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
154157
* <ul>
@@ -167,7 +170,7 @@
167170
* </tr>
168171
* <tr>
169172
* <td><p> AttemptStreamingSequence</td>
170-
* <td><p> Attempts a streaming sequence. May not function as expected in HTTP mode due to when http statuses are sent See https://github.com/googleapis/gapic-showcase/issues/1377 for more details</td>
173+
* <td><p> Attempts a server streaming call with a sequence of responses Can be used to test retries and stream resumption logic May not function as expected in HTTP mode due to when http statuses are sent See https://github.com/googleapis/gapic-showcase/issues/1377 for more details</td>
171174
* <td>
172175
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
173176
* <ul>
@@ -359,7 +362,7 @@ public SequenceServiceStub getStub() {
359362

360363
// AUTO-GENERATED DOCUMENTATION AND METHOD.
361364
/**
362-
* Creates a sequence.
365+
* Create a sequence of responses to be returned as unary calls
363366
*
364367
* <p>Sample code:
365368
*
@@ -386,7 +389,7 @@ public final Sequence createSequence(Sequence sequence) {
386389

387390
// AUTO-GENERATED DOCUMENTATION AND METHOD.
388391
/**
389-
* Creates a sequence.
392+
* Create a sequence of responses to be returned as unary calls
390393
*
391394
* <p>Sample code:
392395
*
@@ -412,7 +415,7 @@ public final Sequence createSequence(CreateSequenceRequest request) {
412415

413416
// AUTO-GENERATED DOCUMENTATION AND METHOD.
414417
/**
415-
* Creates a sequence.
418+
* Create a sequence of responses to be returned as unary calls
416419
*
417420
* <p>Sample code:
418421
*
@@ -438,7 +441,7 @@ public final UnaryCallable<CreateSequenceRequest, Sequence> createSequenceCallab
438441

439442
// AUTO-GENERATED DOCUMENTATION AND METHOD.
440443
/**
441-
* Creates a sequence.
444+
* Creates a sequence of responses to be returned in a server streaming call
442445
*
443446
* <p>Sample code:
444447
*
@@ -465,7 +468,7 @@ public final StreamingSequence createStreamingSequence(StreamingSequence streami
465468

466469
// AUTO-GENERATED DOCUMENTATION AND METHOD.
467470
/**
468-
* Creates a sequence.
471+
* Creates a sequence of responses to be returned in a server streaming call
469472
*
470473
* <p>Sample code:
471474
*
@@ -493,7 +496,7 @@ public final StreamingSequence createStreamingSequence(CreateStreamingSequenceRe
493496

494497
// AUTO-GENERATED DOCUMENTATION AND METHOD.
495498
/**
496-
* Creates a sequence.
499+
* Creates a sequence of responses to be returned in a server streaming call
497500
*
498501
* <p>Sample code:
499502
*
@@ -522,7 +525,8 @@ public final StreamingSequence createStreamingSequence(CreateStreamingSequenceRe
522525

523526
// AUTO-GENERATED DOCUMENTATION AND METHOD.
524527
/**
525-
* Retrieves a sequence.
528+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
529+
* calls.
526530
*
527531
* <p>Sample code:
528532
*
@@ -551,7 +555,8 @@ public final SequenceReport getSequenceReport(SequenceReportName name) {
551555

552556
// AUTO-GENERATED DOCUMENTATION AND METHOD.
553557
/**
554-
* Retrieves a sequence.
558+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
559+
* calls.
555560
*
556561
* <p>Sample code:
557562
*
@@ -577,7 +582,8 @@ public final SequenceReport getSequenceReport(String name) {
577582

578583
// AUTO-GENERATED DOCUMENTATION AND METHOD.
579584
/**
580-
* Retrieves a sequence.
585+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
586+
* calls.
581587
*
582588
* <p>Sample code:
583589
*
@@ -605,7 +611,8 @@ public final SequenceReport getSequenceReport(GetSequenceReportRequest request)
605611

606612
// AUTO-GENERATED DOCUMENTATION AND METHOD.
607613
/**
608-
* Retrieves a sequence.
614+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
615+
* calls.
609616
*
610617
* <p>Sample code:
611618
*
@@ -633,7 +640,8 @@ public final UnaryCallable<GetSequenceReportRequest, SequenceReport> getSequence
633640

634641
// AUTO-GENERATED DOCUMENTATION AND METHOD.
635642
/**
636-
* Retrieves a sequence.
643+
* Retrieves a sequence report which can be used to retrieve information about a sequences of
644+
* responses in a server streaming call.
637645
*
638646
* <p>Sample code:
639647
*
@@ -663,7 +671,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(
663671

664672
// AUTO-GENERATED DOCUMENTATION AND METHOD.
665673
/**
666-
* Retrieves a sequence.
674+
* Retrieves a sequence report which can be used to retrieve information about a sequences of
675+
* responses in a server streaming call.
667676
*
668677
* <p>Sample code:
669678
*
@@ -690,7 +699,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(String name) {
690699

691700
// AUTO-GENERATED DOCUMENTATION AND METHOD.
692701
/**
693-
* Retrieves a sequence.
702+
* Retrieves a sequence report which can be used to retrieve information about a sequences of
703+
* responses in a server streaming call.
694704
*
695705
* <p>Sample code:
696706
*
@@ -719,7 +729,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(
719729

720730
// AUTO-GENERATED DOCUMENTATION AND METHOD.
721731
/**
722-
* Retrieves a sequence.
732+
* Retrieves a sequence report which can be used to retrieve information about a sequences of
733+
* responses in a server streaming call.
723734
*
724735
* <p>Sample code:
725736
*
@@ -748,7 +759,7 @@ public final StreamingSequenceReport getStreamingSequenceReport(
748759

749760
// AUTO-GENERATED DOCUMENTATION AND METHOD.
750761
/**
751-
* Attempts a sequence.
762+
* Attempts a sequence of unary responses.
752763
*
753764
* <p>Sample code:
754765
*
@@ -775,7 +786,7 @@ public final void attemptSequence(SequenceName name) {
775786

776787
// AUTO-GENERATED DOCUMENTATION AND METHOD.
777788
/**
778-
* Attempts a sequence.
789+
* Attempts a sequence of unary responses.
779790
*
780791
* <p>Sample code:
781792
*
@@ -801,7 +812,7 @@ public final void attemptSequence(String name) {
801812

802813
// AUTO-GENERATED DOCUMENTATION AND METHOD.
803814
/**
804-
* Attempts a sequence.
815+
* Attempts a sequence of unary responses.
805816
*
806817
* <p>Sample code:
807818
*
@@ -829,7 +840,7 @@ public final void attemptSequence(AttemptSequenceRequest request) {
829840

830841
// AUTO-GENERATED DOCUMENTATION AND METHOD.
831842
/**
832-
* Attempts a sequence.
843+
* Attempts a sequence of unary responses.
833844
*
834845
* <p>Sample code:
835846
*
@@ -856,8 +867,9 @@ public final UnaryCallable<AttemptSequenceRequest, Empty> attemptSequenceCallabl
856867

857868
// AUTO-GENERATED DOCUMENTATION AND METHOD.
858869
/**
859-
* Attempts a streaming sequence. May not function as expected in HTTP mode due to when http
860-
* statuses are sent See https://github.com/googleapis/gapic-showcase/issues/1377 for more details
870+
* Attempts a server streaming call with a sequence of responses Can be used to test retries and
871+
* stream resumption logic May not function as expected in HTTP mode due to when http statuses are
872+
* sent See https://github.com/googleapis/gapic-showcase/issues/1377 for more details
861873
*
862874
* <p>Sample code:
863875
*

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
*
126126
* <p>======================= SequenceServiceClient =======================
127127
*
128+
* <p>Service Description: A service that enables testing of unary and server streaming calls by
129+
* specifying a specific, predictable sequence of responses from the service
130+
*
128131
* <p>Sample for SequenceServiceClient:
129132
*
130133
* <pre>{@code

java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,16 @@ public void repeatDataSimplePathTest() throws Exception {
330330
.setFChild(ComplianceDataChild.newBuilder().build())
331331
.setPString("pString-1191954271")
332332
.setPInt32(-858673665)
333+
.setPSint32(-567522134)
334+
.setPSfixed32(1566619631)
335+
.setPUint32(-510263832)
336+
.setPFixed32(942872580)
337+
.setPInt64(-858673570)
338+
.setPSint64(-567522039)
339+
.setPSfixed64(1566619726)
340+
.setPUint64(-510263737)
341+
.setPFixed64(942872675)
342+
.setPFloat(-861507123)
333343
.setPDouble(-991225216)
334344
.setPBool(true)
335345
.setPChild(ComplianceDataChild.newBuilder().build())
@@ -393,6 +403,16 @@ public void repeatDataSimplePathExceptionTest() throws Exception {
393403
.setFChild(ComplianceDataChild.newBuilder().build())
394404
.setPString("pString-1191954271")
395405
.setPInt32(-858673665)
406+
.setPSint32(-567522134)
407+
.setPSfixed32(1566619631)
408+
.setPUint32(-510263832)
409+
.setPFixed32(942872580)
410+
.setPInt64(-858673570)
411+
.setPSint64(-567522039)
412+
.setPSfixed64(1566619726)
413+
.setPUint64(-510263737)
414+
.setPFixed64(942872675)
415+
.setPFloat(-861507123)
396416
.setPDouble(-991225216)
397417
.setPBool(true)
398418
.setPChild(ComplianceDataChild.newBuilder().build())
@@ -459,6 +479,16 @@ public void repeatDataPathResourceTest() throws Exception {
459479
.build())
460480
.setPString("pString-1191954271")
461481
.setPInt32(-858673665)
482+
.setPSint32(-567522134)
483+
.setPSfixed32(1566619631)
484+
.setPUint32(-510263832)
485+
.setPFixed32(942872580)
486+
.setPInt64(-858673570)
487+
.setPSint64(-567522039)
488+
.setPSfixed64(1566619726)
489+
.setPUint64(-510263737)
490+
.setPFixed64(942872675)
491+
.setPFloat(-861507123)
462492
.setPDouble(-991225216)
463493
.setPBool(true)
464494
.setPChild(ComplianceDataChild.newBuilder().build())
@@ -536,6 +566,16 @@ public void repeatDataPathResourceExceptionTest() throws Exception {
536566
.build())
537567
.setPString("pString-1191954271")
538568
.setPInt32(-858673665)
569+
.setPSint32(-567522134)
570+
.setPSfixed32(1566619631)
571+
.setPUint32(-510263832)
572+
.setPFixed32(942872580)
573+
.setPInt64(-858673570)
574+
.setPSint64(-567522039)
575+
.setPSfixed64(1566619726)
576+
.setPUint64(-510263737)
577+
.setPFixed64(942872675)
578+
.setPFloat(-861507123)
539579
.setPDouble(-991225216)
540580
.setPBool(true)
541581
.setPChild(ComplianceDataChild.newBuilder().build())
@@ -602,6 +642,16 @@ public void repeatDataPathTrailingResourceTest() throws Exception {
602642
.build())
603643
.setPString("pString-1191954271")
604644
.setPInt32(-858673665)
645+
.setPSint32(-567522134)
646+
.setPSfixed32(1566619631)
647+
.setPUint32(-510263832)
648+
.setPFixed32(942872580)
649+
.setPInt64(-858673570)
650+
.setPSint64(-567522039)
651+
.setPSfixed64(1566619726)
652+
.setPUint64(-510263737)
653+
.setPFixed64(942872675)
654+
.setPFloat(-861507123)
605655
.setPDouble(-991225216)
606656
.setPBool(true)
607657
.setPChild(ComplianceDataChild.newBuilder().build())
@@ -679,6 +729,16 @@ public void repeatDataPathTrailingResourceExceptionTest() throws Exception {
679729
.build())
680730
.setPString("pString-1191954271")
681731
.setPInt32(-858673665)
732+
.setPSint32(-567522134)
733+
.setPSfixed32(1566619631)
734+
.setPUint32(-510263832)
735+
.setPFixed32(942872580)
736+
.setPInt64(-858673570)
737+
.setPSint64(-567522039)
738+
.setPSfixed64(1566619726)
739+
.setPUint64(-510263737)
740+
.setPFixed64(942872675)
741+
.setPFloat(-861507123)
682742
.setPDouble(-991225216)
683743
.setPBool(true)
684744
.setPChild(ComplianceDataChild.newBuilder().build())

java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITCompositeTracer.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
import static com.google.common.truth.Truth.assertThat;
3434

3535
import com.google.api.gax.tracing.CompositeTracerFactory;
36-
import com.google.api.gax.tracing.OpenTelemetryMetricsFactory;
3736
import com.google.api.gax.tracing.ObservabilityAttributes;
37+
import com.google.api.gax.tracing.OpenTelemetryMetricsFactory;
3838
import com.google.api.gax.tracing.OpenTelemetryTracingFactory;
3939
import com.google.showcase.v1beta1.EchoClient;
4040
import com.google.showcase.v1beta1.EchoRequest;
@@ -92,11 +92,13 @@ void tearDown() {
9292
}
9393

9494
private CompositeTracerFactory createCompositeTracerFactory() {
95-
OpenTelemetryTracingFactory openTelemetryTracingFactory = new OpenTelemetryTracingFactory(openTelemetrySdk);
95+
OpenTelemetryTracingFactory openTelemetryTracingFactory =
96+
new OpenTelemetryTracingFactory(openTelemetrySdk);
9697
OpenTelemetryMetricsFactory metricsTracerFactory =
9798
new OpenTelemetryMetricsFactory(openTelemetrySdk);
9899

99-
return new CompositeTracerFactory(Arrays.asList(openTelemetryTracingFactory, metricsTracerFactory));
100+
return new CompositeTracerFactory(
101+
Arrays.asList(openTelemetryTracingFactory, metricsTracerFactory));
100102
}
101103

102104
@Test

0 commit comments

Comments
 (0)