Skip to content

Commit 13d1470

Browse files
chore: generate libraries at Fri May 29 22:40:06 UTC 2026
1 parent 49c446f commit 13d1470

304 files changed

Lines changed: 157947 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-geminidataanalytics/google-cloud-geminidataanalytics-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-geminidataanalytics-v1beta</artifactId>
3434
<version>0.21.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-geminidataanalytics-v1beta:current} -->
3535
</dependency>
36+
<dependency>
37+
<groupId>com.google.api.grpc</groupId>
38+
<artifactId>grpc-google-cloud-geminidataanalytics-v1</artifactId>
39+
<version>0.21.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-geminidataanalytics-v1:current} -->
40+
</dependency>
3641
<dependency>
3742
<groupId>com.google.api.grpc</groupId>
3843
<artifactId>proto-google-cloud-geminidataanalytics-v1beta</artifactId>
3944
<version>0.21.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-geminidataanalytics-v1beta:current} -->
4045
</dependency>
46+
<dependency>
47+
<groupId>com.google.api.grpc</groupId>
48+
<artifactId>proto-google-cloud-geminidataanalytics-v1</artifactId>
49+
<version>0.21.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-geminidataanalytics-v1:current} -->
50+
</dependency>
4151
</dependencies>
4252
</dependencyManagement>
4353
</project>

java-geminidataanalytics/google-cloud-geminidataanalytics/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-geminidataanalytics-v1</artifactId>
47+
</dependency>
4448
<dependency>
4549
<groupId>com.google.api.grpc</groupId>
4650
<artifactId>proto-google-cloud-geminidataanalytics-v1beta</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-geminidataanalytics-v1</artifactId>
86+
<scope>test</scope>
87+
</dependency>
7988
<dependency>
8089
<groupId>com.google.api.grpc</groupId>
8190
<artifactId>grpc-google-iam-v1</artifactId>

java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceClient.java

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

java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataAgentServiceSettings.java

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

java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1/DataChatServiceClient.java

Lines changed: 1517 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
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.geminidataanalytics.v1;
18+
19+
import static com.google.cloud.geminidataanalytics.v1.DataChatServiceClient.ListConversationsPagedResponse;
20+
import static com.google.cloud.geminidataanalytics.v1.DataChatServiceClient.ListLocationsPagedResponse;
21+
import static com.google.cloud.geminidataanalytics.v1.DataChatServiceClient.ListMessagesPagedResponse;
22+
23+
import com.google.api.core.ApiFunction;
24+
import com.google.api.core.BetaApi;
25+
import com.google.api.gax.core.GoogleCredentialsProvider;
26+
import com.google.api.gax.core.InstantiatingExecutorProvider;
27+
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
28+
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
29+
import com.google.api.gax.rpc.ApiClientHeaderProvider;
30+
import com.google.api.gax.rpc.ClientContext;
31+
import com.google.api.gax.rpc.ClientSettings;
32+
import com.google.api.gax.rpc.PagedCallSettings;
33+
import com.google.api.gax.rpc.ServerStreamingCallSettings;
34+
import com.google.api.gax.rpc.TransportChannelProvider;
35+
import com.google.api.gax.rpc.UnaryCallSettings;
36+
import com.google.cloud.geminidataanalytics.v1.stub.DataChatServiceStubSettings;
37+
import com.google.cloud.location.GetLocationRequest;
38+
import com.google.cloud.location.ListLocationsRequest;
39+
import com.google.cloud.location.ListLocationsResponse;
40+
import com.google.cloud.location.Location;
41+
import com.google.protobuf.Empty;
42+
import java.io.IOException;
43+
import java.util.List;
44+
import javax.annotation.Generated;
45+
46+
// AUTO-GENERATED DOCUMENTATION AND CLASS.
47+
/**
48+
* Settings class to configure an instance of {@link DataChatServiceClient}.
49+
*
50+
* <p>The default instance has everything set to sensible defaults:
51+
*
52+
* <ul>
53+
* <li>The default service address (geminidataanalytics.googleapis.com) and default port (443) are
54+
* used.
55+
* <li>Credentials are acquired automatically through Application Default Credentials.
56+
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
57+
* </ul>
58+
*
59+
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
60+
* build() is called, the tree of builders is called to create the complete settings object.
61+
*
62+
* <p>For example, to set the
63+
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
64+
* of createConversation:
65+
*
66+
* <pre>{@code
67+
* // This snippet has been automatically generated and should be regarded as a code template only.
68+
* // It will require modifications to work:
69+
* // - It may require correct/in-range values for request initialization.
70+
* // - It may require specifying regional endpoints when creating the service client as shown in
71+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
72+
* DataChatServiceSettings.Builder dataChatServiceSettingsBuilder =
73+
* DataChatServiceSettings.newBuilder();
74+
* dataChatServiceSettingsBuilder
75+
* .createConversationSettings()
76+
* .setRetrySettings(
77+
* dataChatServiceSettingsBuilder
78+
* .createConversationSettings()
79+
* .getRetrySettings()
80+
* .toBuilder()
81+
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
82+
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
83+
* .setMaxAttempts(5)
84+
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
85+
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
86+
* .setRetryDelayMultiplier(1.3)
87+
* .setRpcTimeoutMultiplier(1.5)
88+
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
89+
* .build());
90+
* DataChatServiceSettings dataChatServiceSettings = dataChatServiceSettingsBuilder.build();
91+
* }</pre>
92+
*
93+
* Please refer to the [Client Side Retry
94+
* Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
95+
* retries.
96+
*/
97+
@Generated("by gapic-generator-java")
98+
public class DataChatServiceSettings extends ClientSettings<DataChatServiceSettings> {
99+
100+
/** Returns the object with the settings used for calls to chat. */
101+
public ServerStreamingCallSettings<ChatRequest, Message> chatSettings() {
102+
return ((DataChatServiceStubSettings) getStubSettings()).chatSettings();
103+
}
104+
105+
/** Returns the object with the settings used for calls to createConversation. */
106+
public UnaryCallSettings<CreateConversationRequest, Conversation> createConversationSettings() {
107+
return ((DataChatServiceStubSettings) getStubSettings()).createConversationSettings();
108+
}
109+
110+
/** Returns the object with the settings used for calls to deleteConversation. */
111+
public UnaryCallSettings<DeleteConversationRequest, Empty> deleteConversationSettings() {
112+
return ((DataChatServiceStubSettings) getStubSettings()).deleteConversationSettings();
113+
}
114+
115+
/** Returns the object with the settings used for calls to getConversation. */
116+
public UnaryCallSettings<GetConversationRequest, Conversation> getConversationSettings() {
117+
return ((DataChatServiceStubSettings) getStubSettings()).getConversationSettings();
118+
}
119+
120+
/** Returns the object with the settings used for calls to listConversations. */
121+
public PagedCallSettings<
122+
ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse>
123+
listConversationsSettings() {
124+
return ((DataChatServiceStubSettings) getStubSettings()).listConversationsSettings();
125+
}
126+
127+
/** Returns the object with the settings used for calls to listMessages. */
128+
public PagedCallSettings<ListMessagesRequest, ListMessagesResponse, ListMessagesPagedResponse>
129+
listMessagesSettings() {
130+
return ((DataChatServiceStubSettings) getStubSettings()).listMessagesSettings();
131+
}
132+
133+
/** Returns the object with the settings used for calls to listLocations. */
134+
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
135+
listLocationsSettings() {
136+
return ((DataChatServiceStubSettings) getStubSettings()).listLocationsSettings();
137+
}
138+
139+
/** Returns the object with the settings used for calls to getLocation. */
140+
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
141+
return ((DataChatServiceStubSettings) getStubSettings()).getLocationSettings();
142+
}
143+
144+
public static final DataChatServiceSettings create(DataChatServiceStubSettings stub)
145+
throws IOException {
146+
return new DataChatServiceSettings.Builder(stub.toBuilder()).build();
147+
}
148+
149+
/** Returns a builder for the default ExecutorProvider for this service. */
150+
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
151+
return DataChatServiceStubSettings.defaultExecutorProviderBuilder();
152+
}
153+
154+
/** Returns the default service endpoint. */
155+
public static String getDefaultEndpoint() {
156+
return DataChatServiceStubSettings.getDefaultEndpoint();
157+
}
158+
159+
/** Returns the default service scopes. */
160+
public static List<String> getDefaultServiceScopes() {
161+
return DataChatServiceStubSettings.getDefaultServiceScopes();
162+
}
163+
164+
/** Returns a builder for the default credentials for this service. */
165+
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
166+
return DataChatServiceStubSettings.defaultCredentialsProviderBuilder();
167+
}
168+
169+
/** Returns a builder for the default gRPC ChannelProvider for this service. */
170+
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
171+
return DataChatServiceStubSettings.defaultGrpcTransportProviderBuilder();
172+
}
173+
174+
/** Returns a builder for the default REST ChannelProvider for this service. */
175+
@BetaApi
176+
public static InstantiatingHttpJsonChannelProvider.Builder
177+
defaultHttpJsonTransportProviderBuilder() {
178+
return DataChatServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
179+
}
180+
181+
public static TransportChannelProvider defaultTransportChannelProvider() {
182+
return DataChatServiceStubSettings.defaultTransportChannelProvider();
183+
}
184+
185+
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
186+
return DataChatServiceStubSettings.defaultApiClientHeaderProviderBuilder();
187+
}
188+
189+
/** Returns a new gRPC builder for this class. */
190+
public static Builder newBuilder() {
191+
return Builder.createDefault();
192+
}
193+
194+
/** Returns a new REST builder for this class. */
195+
public static Builder newHttpJsonBuilder() {
196+
return Builder.createHttpJsonDefault();
197+
}
198+
199+
/** Returns a new builder for this class. */
200+
public static Builder newBuilder(ClientContext clientContext) {
201+
return new Builder(clientContext);
202+
}
203+
204+
/** Returns a builder containing all the values of this settings class. */
205+
public Builder toBuilder() {
206+
return new Builder(this);
207+
}
208+
209+
protected DataChatServiceSettings(Builder settingsBuilder) throws IOException {
210+
super(settingsBuilder);
211+
}
212+
213+
/** Builder for DataChatServiceSettings. */
214+
public static class Builder extends ClientSettings.Builder<DataChatServiceSettings, Builder> {
215+
216+
protected Builder() throws IOException {
217+
this(((ClientContext) null));
218+
}
219+
220+
protected Builder(ClientContext clientContext) {
221+
super(DataChatServiceStubSettings.newBuilder(clientContext));
222+
}
223+
224+
protected Builder(DataChatServiceSettings settings) {
225+
super(settings.getStubSettings().toBuilder());
226+
}
227+
228+
protected Builder(DataChatServiceStubSettings.Builder stubSettings) {
229+
super(stubSettings);
230+
}
231+
232+
private static Builder createDefault() {
233+
return new Builder(DataChatServiceStubSettings.newBuilder());
234+
}
235+
236+
private static Builder createHttpJsonDefault() {
237+
return new Builder(DataChatServiceStubSettings.newHttpJsonBuilder());
238+
}
239+
240+
public DataChatServiceStubSettings.Builder getStubSettingsBuilder() {
241+
return ((DataChatServiceStubSettings.Builder) getStubSettings());
242+
}
243+
244+
/**
245+
* Applies the given settings updater function to all of the unary API methods in this service.
246+
*
247+
* <p>Note: This method does not support applying settings to streaming methods.
248+
*/
249+
public Builder applyToAllUnaryMethods(
250+
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
251+
super.applyToAllUnaryMethods(
252+
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
253+
return this;
254+
}
255+
256+
/** Returns the builder for the settings used for calls to chat. */
257+
public ServerStreamingCallSettings.Builder<ChatRequest, Message> chatSettings() {
258+
return getStubSettingsBuilder().chatSettings();
259+
}
260+
261+
/** Returns the builder for the settings used for calls to createConversation. */
262+
public UnaryCallSettings.Builder<CreateConversationRequest, Conversation>
263+
createConversationSettings() {
264+
return getStubSettingsBuilder().createConversationSettings();
265+
}
266+
267+
/** Returns the builder for the settings used for calls to deleteConversation. */
268+
public UnaryCallSettings.Builder<DeleteConversationRequest, Empty>
269+
deleteConversationSettings() {
270+
return getStubSettingsBuilder().deleteConversationSettings();
271+
}
272+
273+
/** Returns the builder for the settings used for calls to getConversation. */
274+
public UnaryCallSettings.Builder<GetConversationRequest, Conversation>
275+
getConversationSettings() {
276+
return getStubSettingsBuilder().getConversationSettings();
277+
}
278+
279+
/** Returns the builder for the settings used for calls to listConversations. */
280+
public PagedCallSettings.Builder<
281+
ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse>
282+
listConversationsSettings() {
283+
return getStubSettingsBuilder().listConversationsSettings();
284+
}
285+
286+
/** Returns the builder for the settings used for calls to listMessages. */
287+
public PagedCallSettings.Builder<
288+
ListMessagesRequest, ListMessagesResponse, ListMessagesPagedResponse>
289+
listMessagesSettings() {
290+
return getStubSettingsBuilder().listMessagesSettings();
291+
}
292+
293+
/** Returns the builder for the settings used for calls to listLocations. */
294+
public PagedCallSettings.Builder<
295+
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
296+
listLocationsSettings() {
297+
return getStubSettingsBuilder().listLocationsSettings();
298+
}
299+
300+
/** Returns the builder for the settings used for calls to getLocation. */
301+
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
302+
return getStubSettingsBuilder().getLocationSettings();
303+
}
304+
305+
@Override
306+
public DataChatServiceSettings build() throws IOException {
307+
return new DataChatServiceSettings(this);
308+
}
309+
}
310+
}

0 commit comments

Comments
 (0)