Skip to content

Commit 6f27a69

Browse files
chore: generate libraries at Wed Feb 25 16:00:56 UTC 2026
1 parent a3fb117 commit 6f27a69

1,338 files changed

Lines changed: 749719 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

java-ces/google-cloud-ces-bom/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,21 @@
3333
<artifactId>grpc-google-cloud-ces-v1</artifactId>
3434
<version>0.2.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-ces-v1:current} -->
3535
</dependency>
36+
<dependency>
37+
<groupId>com.google.api.grpc</groupId>
38+
<artifactId>grpc-google-cloud-ces-v1beta</artifactId>
39+
<version>0.2.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-ces-v1beta:current} -->
40+
</dependency>
3641
<dependency>
3742
<groupId>com.google.api.grpc</groupId>
3843
<artifactId>proto-google-cloud-ces-v1</artifactId>
3944
<version>0.2.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-ces-v1:current} -->
4045
</dependency>
46+
<dependency>
47+
<groupId>com.google.api.grpc</groupId>
48+
<artifactId>proto-google-cloud-ces-v1beta</artifactId>
49+
<version>0.2.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-ces-v1beta:current} -->
50+
</dependency>
4151
</dependencies>
4252
</dependencyManagement>
4353
</project>

java-ces/google-cloud-ces/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<artifactId>proto-google-common-protos</artifactId>
4242
</dependency>
4343

44+
<dependency>
45+
<groupId>com.google.api.grpc</groupId>
46+
<artifactId>proto-google-cloud-ces-v1beta</artifactId>
47+
</dependency>
4448
<dependency>
4549
<groupId>com.google.api.grpc</groupId>
4650
<artifactId>proto-google-cloud-ces-v1</artifactId>
@@ -76,6 +80,11 @@
7680
<artifactId>grpc-google-common-protos</artifactId>
7781
<scope>test</scope>
7882
</dependency>
83+
<dependency>
84+
<groupId>com.google.api.grpc</groupId>
85+
<artifactId>grpc-google-cloud-ces-v1beta</artifactId>
86+
<scope>test</scope>
87+
</dependency>
7988
<dependency>
8089
<groupId>com.google.api.grpc</groupId>
8190
<artifactId>grpc-google-iam-v1</artifactId>

java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/AgentServiceClient.java

Lines changed: 8857 additions & 0 deletions
Large diffs are not rendered by default.

java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/AgentServiceSettings.java

Lines changed: 870 additions & 0 deletions
Large diffs are not rendered by default.

java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceClient.java

Lines changed: 6191 additions & 0 deletions
Large diffs are not rendered by default.

java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/EvaluationServiceSettings.java

Lines changed: 723 additions & 0 deletions
Large diffs are not rendered by default.

java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/SessionServiceClient.java

Lines changed: 656 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
/*
2+
* Copyright 2026 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.ces.v1beta;
18+
19+
import static com.google.cloud.ces.v1beta.SessionServiceClient.ListLocationsPagedResponse;
20+
21+
import com.google.api.core.ApiFunction;
22+
import com.google.api.core.BetaApi;
23+
import com.google.api.gax.core.GoogleCredentialsProvider;
24+
import com.google.api.gax.core.InstantiatingExecutorProvider;
25+
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
26+
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
27+
import com.google.api.gax.rpc.ApiClientHeaderProvider;
28+
import com.google.api.gax.rpc.ClientContext;
29+
import com.google.api.gax.rpc.ClientSettings;
30+
import com.google.api.gax.rpc.PagedCallSettings;
31+
import com.google.api.gax.rpc.StreamingCallSettings;
32+
import com.google.api.gax.rpc.TransportChannelProvider;
33+
import com.google.api.gax.rpc.UnaryCallSettings;
34+
import com.google.cloud.ces.v1beta.stub.SessionServiceStubSettings;
35+
import com.google.cloud.location.GetLocationRequest;
36+
import com.google.cloud.location.ListLocationsRequest;
37+
import com.google.cloud.location.ListLocationsResponse;
38+
import com.google.cloud.location.Location;
39+
import java.io.IOException;
40+
import java.util.List;
41+
import javax.annotation.Generated;
42+
43+
// AUTO-GENERATED DOCUMENTATION AND CLASS.
44+
/**
45+
* Settings class to configure an instance of {@link SessionServiceClient}.
46+
*
47+
* <p>The default instance has everything set to sensible defaults:
48+
*
49+
* <ul>
50+
* <li>The default service address (ces.googleapis.com) and default port (443) are used.
51+
* <li>Credentials are acquired automatically through Application Default Credentials.
52+
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
53+
* </ul>
54+
*
55+
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
56+
* build() is called, the tree of builders is called to create the complete settings object.
57+
*
58+
* <p>For example, to set the
59+
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
60+
* of runSession:
61+
*
62+
* <pre>{@code
63+
* // This snippet has been automatically generated and should be regarded as a code template only.
64+
* // It will require modifications to work:
65+
* // - It may require correct/in-range values for request initialization.
66+
* // - It may require specifying regional endpoints when creating the service client as shown in
67+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
68+
* SessionServiceSettings.Builder sessionServiceSettingsBuilder =
69+
* SessionServiceSettings.newBuilder();
70+
* sessionServiceSettingsBuilder
71+
* .runSessionSettings()
72+
* .setRetrySettings(
73+
* sessionServiceSettingsBuilder
74+
* .runSessionSettings()
75+
* .getRetrySettings()
76+
* .toBuilder()
77+
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
78+
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
79+
* .setMaxAttempts(5)
80+
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
81+
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
82+
* .setRetryDelayMultiplier(1.3)
83+
* .setRpcTimeoutMultiplier(1.5)
84+
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
85+
* .build());
86+
* SessionServiceSettings sessionServiceSettings = sessionServiceSettingsBuilder.build();
87+
* }</pre>
88+
*
89+
* Please refer to the [Client Side Retry
90+
* Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
91+
* retries.
92+
*/
93+
@BetaApi
94+
@Generated("by gapic-generator-java")
95+
public class SessionServiceSettings extends ClientSettings<SessionServiceSettings> {
96+
97+
/** Returns the object with the settings used for calls to runSession. */
98+
public UnaryCallSettings<RunSessionRequest, RunSessionResponse> runSessionSettings() {
99+
return ((SessionServiceStubSettings) getStubSettings()).runSessionSettings();
100+
}
101+
102+
/** Returns the object with the settings used for calls to bidiRunSession. */
103+
public StreamingCallSettings<BidiSessionClientMessage, BidiSessionServerMessage>
104+
bidiRunSessionSettings() {
105+
return ((SessionServiceStubSettings) getStubSettings()).bidiRunSessionSettings();
106+
}
107+
108+
/** Returns the object with the settings used for calls to listLocations. */
109+
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
110+
listLocationsSettings() {
111+
return ((SessionServiceStubSettings) getStubSettings()).listLocationsSettings();
112+
}
113+
114+
/** Returns the object with the settings used for calls to getLocation. */
115+
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
116+
return ((SessionServiceStubSettings) getStubSettings()).getLocationSettings();
117+
}
118+
119+
public static final SessionServiceSettings create(SessionServiceStubSettings stub)
120+
throws IOException {
121+
return new SessionServiceSettings.Builder(stub.toBuilder()).build();
122+
}
123+
124+
/** Returns a builder for the default ExecutorProvider for this service. */
125+
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
126+
return SessionServiceStubSettings.defaultExecutorProviderBuilder();
127+
}
128+
129+
/** Returns the default service endpoint. */
130+
public static String getDefaultEndpoint() {
131+
return SessionServiceStubSettings.getDefaultEndpoint();
132+
}
133+
134+
/** Returns the default service scopes. */
135+
public static List<String> getDefaultServiceScopes() {
136+
return SessionServiceStubSettings.getDefaultServiceScopes();
137+
}
138+
139+
/** Returns a builder for the default credentials for this service. */
140+
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
141+
return SessionServiceStubSettings.defaultCredentialsProviderBuilder();
142+
}
143+
144+
/** Returns a builder for the default gRPC ChannelProvider for this service. */
145+
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
146+
return SessionServiceStubSettings.defaultGrpcTransportProviderBuilder();
147+
}
148+
149+
/** Returns a builder for the default REST ChannelProvider for this service. */
150+
@BetaApi
151+
public static InstantiatingHttpJsonChannelProvider.Builder
152+
defaultHttpJsonTransportProviderBuilder() {
153+
return SessionServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
154+
}
155+
156+
public static TransportChannelProvider defaultTransportChannelProvider() {
157+
return SessionServiceStubSettings.defaultTransportChannelProvider();
158+
}
159+
160+
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
161+
return SessionServiceStubSettings.defaultApiClientHeaderProviderBuilder();
162+
}
163+
164+
/** Returns a new gRPC builder for this class. */
165+
public static Builder newBuilder() {
166+
return Builder.createDefault();
167+
}
168+
169+
/** Returns a new REST builder for this class. */
170+
public static Builder newHttpJsonBuilder() {
171+
return Builder.createHttpJsonDefault();
172+
}
173+
174+
/** Returns a new builder for this class. */
175+
public static Builder newBuilder(ClientContext clientContext) {
176+
return new Builder(clientContext);
177+
}
178+
179+
/** Returns a builder containing all the values of this settings class. */
180+
public Builder toBuilder() {
181+
return new Builder(this);
182+
}
183+
184+
protected SessionServiceSettings(Builder settingsBuilder) throws IOException {
185+
super(settingsBuilder);
186+
}
187+
188+
/** Builder for SessionServiceSettings. */
189+
public static class Builder extends ClientSettings.Builder<SessionServiceSettings, Builder> {
190+
191+
protected Builder() throws IOException {
192+
this(((ClientContext) null));
193+
}
194+
195+
protected Builder(ClientContext clientContext) {
196+
super(SessionServiceStubSettings.newBuilder(clientContext));
197+
}
198+
199+
protected Builder(SessionServiceSettings settings) {
200+
super(settings.getStubSettings().toBuilder());
201+
}
202+
203+
protected Builder(SessionServiceStubSettings.Builder stubSettings) {
204+
super(stubSettings);
205+
}
206+
207+
private static Builder createDefault() {
208+
return new Builder(SessionServiceStubSettings.newBuilder());
209+
}
210+
211+
private static Builder createHttpJsonDefault() {
212+
return new Builder(SessionServiceStubSettings.newHttpJsonBuilder());
213+
}
214+
215+
public SessionServiceStubSettings.Builder getStubSettingsBuilder() {
216+
return ((SessionServiceStubSettings.Builder) getStubSettings());
217+
}
218+
219+
/**
220+
* Applies the given settings updater function to all of the unary API methods in this service.
221+
*
222+
* <p>Note: This method does not support applying settings to streaming methods.
223+
*/
224+
public Builder applyToAllUnaryMethods(
225+
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
226+
super.applyToAllUnaryMethods(
227+
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
228+
return this;
229+
}
230+
231+
/** Returns the builder for the settings used for calls to runSession. */
232+
public UnaryCallSettings.Builder<RunSessionRequest, RunSessionResponse> runSessionSettings() {
233+
return getStubSettingsBuilder().runSessionSettings();
234+
}
235+
236+
/** Returns the builder for the settings used for calls to bidiRunSession. */
237+
public StreamingCallSettings.Builder<BidiSessionClientMessage, BidiSessionServerMessage>
238+
bidiRunSessionSettings() {
239+
return getStubSettingsBuilder().bidiRunSessionSettings();
240+
}
241+
242+
/** Returns the builder for the settings used for calls to listLocations. */
243+
public PagedCallSettings.Builder<
244+
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
245+
listLocationsSettings() {
246+
return getStubSettingsBuilder().listLocationsSettings();
247+
}
248+
249+
/** Returns the builder for the settings used for calls to getLocation. */
250+
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
251+
return getStubSettingsBuilder().getLocationSettings();
252+
}
253+
254+
@Override
255+
public SessionServiceSettings build() throws IOException {
256+
return new SessionServiceSettings(this);
257+
}
258+
}
259+
}

0 commit comments

Comments
 (0)