You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
+40-28Lines changed: 40 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,11 @@
46
46
47
47
// AUTO-GENERATED DOCUMENTATION AND CLASS.
48
48
/**
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:
51
54
*
52
55
* <pre>{@code
53
56
* // This snippet has been automatically generated and should be regarded as a code template only.
@@ -74,7 +77,7 @@
74
77
* </tr>
75
78
* <tr>
76
79
* <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>
78
81
* <td>
79
82
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
80
83
* <ul>
@@ -92,7 +95,7 @@
92
95
* </tr>
93
96
* <tr>
94
97
* <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>
96
99
* <td>
97
100
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
98
101
* <ul>
@@ -110,7 +113,7 @@
110
113
* </tr>
111
114
* <tr>
112
115
* <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>
114
117
* <td>
115
118
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
116
119
* <ul>
@@ -129,7 +132,7 @@
129
132
* </tr>
130
133
* <tr>
131
134
* <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>
133
136
* <td>
134
137
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
135
138
* <ul>
@@ -148,7 +151,7 @@
148
151
* </tr>
149
152
* <tr>
150
153
* <td><p> AttemptSequence</td>
151
-
* <td><p> Attempts a sequence.</td>
154
+
* <td><p> Attempts a sequence of unary responses.</td>
152
155
* <td>
153
156
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
154
157
* <ul>
@@ -167,7 +170,7 @@
167
170
* </tr>
168
171
* <tr>
169
172
* <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>
171
174
* <td>
172
175
* <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>
173
176
* <ul>
@@ -359,7 +362,7 @@ public SequenceServiceStub getStub() {
359
362
360
363
// AUTO-GENERATED DOCUMENTATION AND METHOD.
361
364
/**
362
-
* Creates a sequence.
365
+
* Create a sequence of responses to be returned as unary calls
363
366
*
364
367
* <p>Sample code:
365
368
*
@@ -386,7 +389,7 @@ public final Sequence createSequence(Sequence sequence) {
386
389
387
390
// AUTO-GENERATED DOCUMENTATION AND METHOD.
388
391
/**
389
-
* Creates a sequence.
392
+
* Create a sequence of responses to be returned as unary calls
390
393
*
391
394
* <p>Sample code:
392
395
*
@@ -412,7 +415,7 @@ public final Sequence createSequence(CreateSequenceRequest request) {
412
415
413
416
// AUTO-GENERATED DOCUMENTATION AND METHOD.
414
417
/**
415
-
* Creates a sequence.
418
+
* Create a sequence of responses to be returned as unary calls
416
419
*
417
420
* <p>Sample code:
418
421
*
@@ -438,7 +441,7 @@ public final UnaryCallable<CreateSequenceRequest, Sequence> createSequenceCallab
438
441
439
442
// AUTO-GENERATED DOCUMENTATION AND METHOD.
440
443
/**
441
-
* Creates a sequence.
444
+
* Creates a sequence of responses to be returned in a server streaming call
442
445
*
443
446
* <p>Sample code:
444
447
*
@@ -465,7 +468,7 @@ public final StreamingSequence createStreamingSequence(StreamingSequence streami
465
468
466
469
// AUTO-GENERATED DOCUMENTATION AND METHOD.
467
470
/**
468
-
* Creates a sequence.
471
+
* Creates a sequence of responses to be returned in a server streaming call
469
472
*
470
473
* <p>Sample code:
471
474
*
@@ -493,7 +496,7 @@ public final StreamingSequence createStreamingSequence(CreateStreamingSequenceRe
493
496
494
497
// AUTO-GENERATED DOCUMENTATION AND METHOD.
495
498
/**
496
-
* Creates a sequence.
499
+
* Creates a sequence of responses to be returned in a server streaming call
497
500
*
498
501
* <p>Sample code:
499
502
*
@@ -522,7 +525,8 @@ public final StreamingSequence createStreamingSequence(CreateStreamingSequenceRe
522
525
523
526
// AUTO-GENERATED DOCUMENTATION AND METHOD.
524
527
/**
525
-
* Retrieves a sequence.
528
+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
529
+
* calls.
526
530
*
527
531
* <p>Sample code:
528
532
*
@@ -551,7 +555,8 @@ public final SequenceReport getSequenceReport(SequenceReportName name) {
551
555
552
556
// AUTO-GENERATED DOCUMENTATION AND METHOD.
553
557
/**
554
-
* Retrieves a sequence.
558
+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
559
+
* calls.
555
560
*
556
561
* <p>Sample code:
557
562
*
@@ -577,7 +582,8 @@ public final SequenceReport getSequenceReport(String name) {
577
582
578
583
// AUTO-GENERATED DOCUMENTATION AND METHOD.
579
584
/**
580
-
* Retrieves a sequence.
585
+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
586
+
* calls.
581
587
*
582
588
* <p>Sample code:
583
589
*
@@ -605,7 +611,8 @@ public final SequenceReport getSequenceReport(GetSequenceReportRequest request)
605
611
606
612
// AUTO-GENERATED DOCUMENTATION AND METHOD.
607
613
/**
608
-
* Retrieves a sequence.
614
+
* Retrieves a sequence report which can be used to retrieve information about a sequence of unary
615
+
* calls.
609
616
*
610
617
* <p>Sample code:
611
618
*
@@ -633,7 +640,8 @@ public final UnaryCallable<GetSequenceReportRequest, SequenceReport> getSequence
633
640
634
641
// AUTO-GENERATED DOCUMENTATION AND METHOD.
635
642
/**
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.
637
645
*
638
646
* <p>Sample code:
639
647
*
@@ -663,7 +671,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(
663
671
664
672
// AUTO-GENERATED DOCUMENTATION AND METHOD.
665
673
/**
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.
667
676
*
668
677
* <p>Sample code:
669
678
*
@@ -690,7 +699,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(String name) {
690
699
691
700
// AUTO-GENERATED DOCUMENTATION AND METHOD.
692
701
/**
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.
694
704
*
695
705
* <p>Sample code:
696
706
*
@@ -719,7 +729,8 @@ public final StreamingSequenceReport getStreamingSequenceReport(
719
729
720
730
// AUTO-GENERATED DOCUMENTATION AND METHOD.
721
731
/**
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.
723
734
*
724
735
* <p>Sample code:
725
736
*
@@ -748,7 +759,7 @@ public final StreamingSequenceReport getStreamingSequenceReport(
748
759
749
760
// AUTO-GENERATED DOCUMENTATION AND METHOD.
750
761
/**
751
-
* Attempts a sequence.
762
+
* Attempts a sequence of unary responses.
752
763
*
753
764
* <p>Sample code:
754
765
*
@@ -775,7 +786,7 @@ public final void attemptSequence(SequenceName name) {
775
786
776
787
// AUTO-GENERATED DOCUMENTATION AND METHOD.
777
788
/**
778
-
* Attempts a sequence.
789
+
* Attempts a sequence of unary responses.
779
790
*
780
791
* <p>Sample code:
781
792
*
@@ -801,7 +812,7 @@ public final void attemptSequence(String name) {
801
812
802
813
// AUTO-GENERATED DOCUMENTATION AND METHOD.
803
814
/**
804
-
* Attempts a sequence.
815
+
* Attempts a sequence of unary responses.
805
816
*
806
817
* <p>Sample code:
807
818
*
@@ -829,7 +840,7 @@ public final void attemptSequence(AttemptSequenceRequest request) {
829
840
830
841
// AUTO-GENERATED DOCUMENTATION AND METHOD.
831
842
/**
832
-
* Attempts a sequence.
843
+
* Attempts a sequence of unary responses.
833
844
*
834
845
* <p>Sample code:
835
846
*
@@ -856,8 +867,9 @@ public final UnaryCallable<AttemptSequenceRequest, Empty> attemptSequenceCallabl
856
867
857
868
// AUTO-GENERATED DOCUMENTATION AND METHOD.
858
869
/**
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
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/resources/META-INF/native-image/com.google.showcase.v1beta1/reflect-config.json
0 commit comments