Skip to content

Commit bea5b1b

Browse files
committed
regenerate showcase
1 parent f5a55f9 commit bea5b1b

29 files changed

Lines changed: 1809 additions & 197 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/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ protected ComplianceStubSettings(Builder settingsBuilder) throws IOException {
398398
protected LibraryMetadata getLibraryMetadata() {
399399
return LibraryMetadata.newBuilder()
400400
.setArtifactName("com.google.cloud:gapic-showcase")
401-
.setRepository("googleapis/sdk-platform-java")
401+
.setRepository("googleapis/google-cloud-java")
402402
.setVersion(Version.VERSION)
403403
.build();
404404
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ protected EchoStubSettings(Builder settingsBuilder) throws IOException {
587587
protected LibraryMetadata getLibraryMetadata() {
588588
return LibraryMetadata.newBuilder()
589589
.setArtifactName("com.google.cloud:gapic-showcase")
590-
.setRepository("googleapis/sdk-platform-java")
590+
.setRepository("googleapis/google-cloud-java")
591591
.setVersion(Version.VERSION)
592592
.build();
593593
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ protected IdentityStubSettings(Builder settingsBuilder) throws IOException {
418418
protected LibraryMetadata getLibraryMetadata() {
419419
return LibraryMetadata.newBuilder()
420420
.setArtifactName("com.google.cloud:gapic-showcase")
421-
.setRepository("googleapis/sdk-platform-java")
421+
.setRepository("googleapis/google-cloud-java")
422422
.setVersion(Version.VERSION)
423423
.build();
424424
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ protected MessagingStubSettings(Builder settingsBuilder) throws IOException {
593593
protected LibraryMetadata getLibraryMetadata() {
594594
return LibraryMetadata.newBuilder()
595595
.setArtifactName("com.google.cloud:gapic-showcase")
596-
.setRepository("googleapis/sdk-platform-java")
596+
.setRepository("googleapis/google-cloud-java")
597597
.setVersion(Version.VERSION)
598598
.build();
599599
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ protected SequenceServiceStubSettings(Builder settingsBuilder) throws IOExceptio
389389
protected LibraryMetadata getLibraryMetadata() {
390390
return LibraryMetadata.newBuilder()
391391
.setArtifactName("com.google.cloud:gapic-showcase")
392-
.setRepository("googleapis/sdk-platform-java")
392+
.setRepository("googleapis/google-cloud-java")
393393
.setVersion(Version.VERSION)
394394
.build();
395395
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ protected TestingStubSettings(Builder settingsBuilder) throws IOException {
501501
protected LibraryMetadata getLibraryMetadata() {
502502
return LibraryMetadata.newBuilder()
503503
.setArtifactName("com.google.cloud:gapic-showcase")
504-
.setRepository("googleapis/sdk-platform-java")
504+
.setRepository("googleapis/google-cloud-java")
505505
.setVersion(Version.VERSION)
506506
.build();
507507
}

java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@InternalApi("For internal use only")
2222
final class Version {
2323
// {x-version-update-start:gapic-showcase:current}
24-
static final String VERSION = "0.17.0";
24+
static final String VERSION = "0.0.0-SNAPSHOT";
2525
// {x-version-update-end}
2626

2727
}

java-showcase/gapic-showcase/src/main/resources/META-INF/native-image/com.google.showcase.v1beta1/reflect-config.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,58 @@
11
[
2+
{
3+
"name": "com.google.api.BatchingConfigProto",
4+
"queryAllDeclaredConstructors": true,
5+
"queryAllPublicConstructors": true,
6+
"queryAllDeclaredMethods": true,
7+
"allPublicMethods": true,
8+
"allDeclaredClasses": true,
9+
"allPublicClasses": true
10+
},
11+
{
12+
"name": "com.google.api.BatchingConfigProto$Builder",
13+
"queryAllDeclaredConstructors": true,
14+
"queryAllPublicConstructors": true,
15+
"queryAllDeclaredMethods": true,
16+
"allPublicMethods": true,
17+
"allDeclaredClasses": true,
18+
"allPublicClasses": true
19+
},
20+
{
21+
"name": "com.google.api.BatchingDescriptorProto",
22+
"queryAllDeclaredConstructors": true,
23+
"queryAllPublicConstructors": true,
24+
"queryAllDeclaredMethods": true,
25+
"allPublicMethods": true,
26+
"allDeclaredClasses": true,
27+
"allPublicClasses": true
28+
},
29+
{
30+
"name": "com.google.api.BatchingDescriptorProto$Builder",
31+
"queryAllDeclaredConstructors": true,
32+
"queryAllPublicConstructors": true,
33+
"queryAllDeclaredMethods": true,
34+
"allPublicMethods": true,
35+
"allDeclaredClasses": true,
36+
"allPublicClasses": true
37+
},
38+
{
39+
"name": "com.google.api.BatchingSettingsProto",
40+
"queryAllDeclaredConstructors": true,
41+
"queryAllPublicConstructors": true,
42+
"queryAllDeclaredMethods": true,
43+
"allPublicMethods": true,
44+
"allDeclaredClasses": true,
45+
"allPublicClasses": true
46+
},
47+
{
48+
"name": "com.google.api.BatchingSettingsProto$Builder",
49+
"queryAllDeclaredConstructors": true,
50+
"queryAllPublicConstructors": true,
51+
"queryAllDeclaredMethods": true,
52+
"allPublicMethods": true,
53+
"allDeclaredClasses": true,
54+
"allPublicClasses": true
55+
},
256
{
357
"name": "com.google.api.ClientLibraryDestination",
458
"queryAllDeclaredConstructors": true,
@@ -143,6 +197,15 @@
143197
"allDeclaredClasses": true,
144198
"allPublicClasses": true
145199
},
200+
{
201+
"name": "com.google.api.FlowControlLimitExceededBehaviorProto",
202+
"queryAllDeclaredConstructors": true,
203+
"queryAllPublicConstructors": true,
204+
"queryAllDeclaredMethods": true,
205+
"allPublicMethods": true,
206+
"allDeclaredClasses": true,
207+
"allPublicClasses": true
208+
},
146209
{
147210
"name": "com.google.api.GoSettings",
148211
"queryAllDeclaredConstructors": true,

0 commit comments

Comments
 (0)