Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit c78e30c

Browse filesBrowse files
chore: migrate to microgenerator (#95)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/9394fae7-3d9c-40e5-96d4-9e786bdf5e45/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 347036369 Source-Link: googleapis/googleapis@6d65640 PiperOrigin-RevId: 346372957 Source-Link: googleapis/googleapis@857f70d PiperOrigin-RevId: 346126713 Source-Link: googleapis/googleapis@b8b2f8c PiperOrigin-RevId: 345476969 Source-Link: googleapis/googleapis@7be2c82 PiperOrigin-RevId: 345067549 Source-Link: googleapis/googleapis@8cfc6c8 PiperOrigin-RevId: 344838119 Source-Link: googleapis/googleapis@88ad4d3 PiperOrigin-RevId: 344134135 Source-Link: googleapis/googleapis@b11a87f
1 parent 08f88a5 commit c78e30c
Copy full SHA for c78e30c

File tree

Expand file treeCollapse file tree

13 files changed

+1111
-2179
lines changed
Filter options
Expand file treeCollapse file tree

13 files changed

+1111
-2179
lines changed

‎google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/NotebookServiceClient.java

Copy file name to clipboardExpand all lines: google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/NotebookServiceClient.java
+67-858Lines changed: 67 additions & 858 deletions
Large diffs are not rendered by default.

‎google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/NotebookServiceSettings.java

Copy file name to clipboardExpand all lines: google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/NotebookServiceSettings.java
+18-71Lines changed: 18 additions & 71 deletions
Large diffs are not rendered by default.

‎google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/package-info.java

Copy file name to clipboardExpand all lines: google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/package-info.java
+4-18Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,29 +15,15 @@
1515
*/
1616

1717
/**
18-
* A client to Notebooks API.
18+
* The interfaces provided are listed below, along with usage samples.
1919
*
20-
* <p>The interfaces provided are listed below, along with usage samples.
21-
*
22-
* <p>===================== NotebookServiceClient =====================
20+
* <p>======================= NotebookServiceClient =======================
2321
*
2422
* <p>Service Description: API v1beta1 service for Cloud AI Platform Notebooks.
2523
*
2624
* <p>Sample for NotebookServiceClient:
27-
*
28-
* <pre>
29-
* <code>
30-
* try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
31-
* String name = "";
32-
* GetInstanceRequest request = GetInstanceRequest.newBuilder()
33-
* .setName(name)
34-
* .build();
35-
* Instance response = notebookServiceClient.getInstance(request);
36-
* }
37-
* </code>
38-
* </pre>
3925
*/
40-
@Generated("by gapic-generator")
26+
@Generated("by gapic-generator-java")
4127
package com.google.cloud.notebooks.v1beta1;
4228

4329
import javax.annotation.Generated;

‎google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/GrpcNotebookServiceCallableFactory.java

Copy file name to clipboardExpand all lines: google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/GrpcNotebookServiceCallableFactory.java
+19-21Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package com.google.cloud.notebooks.v1beta1.stub;
1718

18-
import com.google.api.core.BetaApi;
1919
import com.google.api.gax.grpc.GrpcCallSettings;
2020
import com.google.api.gax.grpc.GrpcCallableFactory;
2121
import com.google.api.gax.grpc.GrpcStubCallableFactory;
@@ -31,18 +31,19 @@
3131
import com.google.api.gax.rpc.StreamingCallSettings;
3232
import com.google.api.gax.rpc.UnaryCallSettings;
3333
import com.google.api.gax.rpc.UnaryCallable;
34+
import com.google.longrunning.Operation;
3435
import com.google.longrunning.stub.OperationsStub;
3536
import javax.annotation.Generated;
3637

37-
// AUTO-GENERATED DOCUMENTATION AND CLASS
38+
// AUTO-GENERATED DOCUMENTATION AND CLASS.
3839
/**
39-
* gRPC callable factory implementation for Notebooks API.
40+
* gRPC callable factory implementation for the NotebookService service API.
4041
*
4142
* <p>This class is for advanced usage.
4243
*/
4344
@Generated("by gapic-generator")
44-
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
4545
public class GrpcNotebookServiceCallableFactory implements GrpcStubCallableFactory {
46+
4647
@Override
4748
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createUnaryCallable(
4849
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
@@ -55,61 +56,58 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createUnaryCalla
5556
public <RequestT, ResponseT, PagedListResponseT>
5657
UnaryCallable<RequestT, PagedListResponseT> createPagedCallable(
5758
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
58-
PagedCallSettings<RequestT, ResponseT, PagedListResponseT> pagedCallSettings,
59+
PagedCallSettings<RequestT, ResponseT, PagedListResponseT> callSettings,
5960
ClientContext clientContext) {
60-
return GrpcCallableFactory.createPagedCallable(
61-
grpcCallSettings, pagedCallSettings, clientContext);
61+
return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext);
6262
}
6363

6464
@Override
6565
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCallable(
6666
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
67-
BatchingCallSettings<RequestT, ResponseT> batchingCallSettings,
67+
BatchingCallSettings<RequestT, ResponseT> callSettings,
6868
ClientContext clientContext) {
6969
return GrpcCallableFactory.createBatchingCallable(
70-
grpcCallSettings, batchingCallSettings, clientContext);
70+
grpcCallSettings, callSettings, clientContext);
7171
}
7272

73-
@BetaApi(
74-
"The surface for long-running operations is not stable yet and may change in the future.")
7573
@Override
7674
public <RequestT, ResponseT, MetadataT>
7775
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
78-
GrpcCallSettings<RequestT, com.google.longrunning.Operation> grpcCallSettings,
79-
OperationCallSettings<RequestT, ResponseT, MetadataT> operationCallSettings,
76+
GrpcCallSettings<RequestT, Operation> grpcCallSettings,
77+
OperationCallSettings<RequestT, ResponseT, MetadataT> callSettings,
8078
ClientContext clientContext,
8179
OperationsStub operationsStub) {
8280
return GrpcCallableFactory.createOperationCallable(
83-
grpcCallSettings, operationCallSettings, clientContext, operationsStub);
81+
grpcCallSettings, callSettings, clientContext, operationsStub);
8482
}
8583

8684
@Override
8785
public <RequestT, ResponseT>
8886
BidiStreamingCallable<RequestT, ResponseT> createBidiStreamingCallable(
8987
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
90-
StreamingCallSettings<RequestT, ResponseT> streamingCallSettings,
88+
StreamingCallSettings<RequestT, ResponseT> callSettings,
9189
ClientContext clientContext) {
9290
return GrpcCallableFactory.createBidiStreamingCallable(
93-
grpcCallSettings, streamingCallSettings, clientContext);
91+
grpcCallSettings, callSettings, clientContext);
9492
}
9593

9694
@Override
9795
public <RequestT, ResponseT>
9896
ServerStreamingCallable<RequestT, ResponseT> createServerStreamingCallable(
9997
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
100-
ServerStreamingCallSettings<RequestT, ResponseT> streamingCallSettings,
98+
ServerStreamingCallSettings<RequestT, ResponseT> callSettings,
10199
ClientContext clientContext) {
102100
return GrpcCallableFactory.createServerStreamingCallable(
103-
grpcCallSettings, streamingCallSettings, clientContext);
101+
grpcCallSettings, callSettings, clientContext);
104102
}
105103

106104
@Override
107105
public <RequestT, ResponseT>
108106
ClientStreamingCallable<RequestT, ResponseT> createClientStreamingCallable(
109107
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
110-
StreamingCallSettings<RequestT, ResponseT> streamingCallSettings,
108+
StreamingCallSettings<RequestT, ResponseT> callSettings,
111109
ClientContext clientContext) {
112110
return GrpcCallableFactory.createClientStreamingCallable(
113-
grpcCallSettings, streamingCallSettings, clientContext);
111+
grpcCallSettings, callSettings, clientContext);
114112
}
115113
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.