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/ComplianceClient.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@
200
200
* </tr>
201
201
* <tr>
202
202
* <td><p> GetEnum</td>
203
-
* <td><p> This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum vaues they receive, use the response from this RPC as the request to VerifyEnum()
203
+
* <td><p> This method requests an enum value from the server. Depending on the contents of EnumRequest, the enum value returned will be a known enum declared in the .proto file, or a made-up enum value the is unknown to the client. To verify that clients can round-trip unknown enum values they receive, use the response from this RPC as the request to VerifyEnum()
204
204
* <p> The values of enums sent by the server when a known or unknown value is requested will be the same within a single Showcase server run (this is needed for VerifyEnum() to work) but are not guaranteed to be the same across separate Showcase server runs.</td>
205
205
* <td>
206
206
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
@@ -1011,7 +1011,7 @@ public final UnaryCallable<RepeatRequest, RepeatResponse> repeatDataBodyPatchCal
1011
1011
/**
1012
1012
* This method requests an enum value from the server. Depending on the contents of EnumRequest,
1013
1013
* the enum value returned will be a known enum declared in the .proto file, or a made-up enum
1014
-
* value the is unknown to the client. To verify that clients can round-trip unknown enum vaues
1014
+
* value the is unknown to the client. To verify that clients can round-trip unknown enum values
1015
1015
* they receive, use the response from this RPC as the request to VerifyEnum()
1016
1016
*
1017
1017
* <p>The values of enums sent by the server when a known or unknown value is requested will be
@@ -1043,7 +1043,7 @@ public final EnumResponse getEnum(EnumRequest request) {
1043
1043
/**
1044
1044
* This method requests an enum value from the server. Depending on the contents of EnumRequest,
1045
1045
* the enum value returned will be a known enum declared in the .proto file, or a made-up enum
1046
-
* value the is unknown to the client. To verify that clients can round-trip unknown enum vaues
1046
+
* value the is unknown to the client. To verify that clients can round-trip unknown enum values
1047
1047
* they receive, use the response from this RPC as the request to VerifyEnum()
1048
1048
*
1049
1049
* <p>The values of enums sent by the server when a known or unknown value is requested will be
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
+75
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,20 @@
120
120
* </td>
121
121
* </tr>
122
122
* <tr>
123
+
* <td><p> FailEchoWithDetails</td>
124
+
* <td><p> This method always fails with a gRPC "Aborted" error status that contains multiple error details. These include one instance of each of the standard ones in error_details.proto (https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto) plus a custom, Showcase-defined PoetryError. The intent of this RPC is to verify that GAPICs can process these various error details and surface them to the user in an idiomatic form.</td>
125
+
* <td>
126
+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <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>
131
+
* <ul>
132
+
* <li><p> failEchoWithDetailsCallable()
133
+
* </ul>
134
+
* </td>
135
+
* </tr>
136
+
* <tr>
123
137
* <td><p> Expand</td>
124
138
* <td><p> This method splits the given content into words and will pass each word back through the stream. This method showcases server-side streaming RPCs.</td>
125
139
* <td>
@@ -552,6 +566,67 @@ public final EchoErrorDetailsResponse echoErrorDetails(EchoErrorDetailsRequest r
552
566
returnstub.echoErrorDetailsCallable();
553
567
}
554
568
569
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
570
+
/**
571
+
* This method always fails with a gRPC "Aborted" error status that contains multiple error
572
+
* details. These include one instance of each of the standard ones in error_details.proto
573
+
* (https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto) plus a
574
+
* custom, Showcase-defined PoetryError. The intent of this RPC is to verify that GAPICs can
575
+
* process these various error details and surface them to the user in an idiomatic form.
576
+
*
577
+
* <p>Sample code:
578
+
*
579
+
* <pre>{@code
580
+
* // This snippet has been automatically generated and should be regarded as a code template only.
581
+
* // It will require modifications to work:
582
+
* // - It may require correct/in-range values for request initialization.
583
+
* // - It may require specifying regional endpoints when creating the service client as shown in
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@
167
167
* </tr>
168
168
* <tr>
169
169
* <td><p> AttemptStreamingSequence</td>
170
-
* <td><p> Attempts a streaming sequence.</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>
171
171
* <td>
172
172
* <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
173
* <ul>
@@ -856,7 +856,8 @@ public final UnaryCallable<AttemptSequenceRequest, Empty> attemptSequenceCallabl
856
856
857
857
// AUTO-GENERATED DOCUMENTATION AND METHOD.
858
858
/**
859
-
* Attempts a streaming sequence.
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
0 commit comments