Skip to content

Commit 65a05c3

Browse files
chore: generate libraries
1 parent 701f41f commit 65a05c3

863 files changed

Lines changed: 290021 additions & 6385 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-agentregistry/proto-google-cloud-agentregistry-v1/src/main/java/com/google/cloud/agentregistry/v1/Binding.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3179,11 +3179,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
31793179
*
31803180
*
31813181
* <pre>
3182-
* Required. The target Agent of the Binding.
3182+
* Optional. The source Agent of the Binding.
31833183
* </pre>
31843184
*
31853185
* <code>
3186-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
3186+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
31873187
* </code>
31883188
*
31893189
* @return Whether the source field is set.
@@ -3197,11 +3197,11 @@ public boolean hasSource() {
31973197
*
31983198
*
31993199
* <pre>
3200-
* Required. The target Agent of the Binding.
3200+
* Optional. The source Agent of the Binding.
32013201
* </pre>
32023202
*
32033203
* <code>
3204-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
3204+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
32053205
* </code>
32063206
*
32073207
* @return The source.
@@ -3217,11 +3217,11 @@ public com.google.cloud.agentregistry.v1.Binding.Source getSource() {
32173217
*
32183218
*
32193219
* <pre>
3220-
* Required. The target Agent of the Binding.
3220+
* Optional. The source Agent of the Binding.
32213221
* </pre>
32223222
*
32233223
* <code>
3224-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
3224+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
32253225
* </code>
32263226
*/
32273227
@java.lang.Override
@@ -4569,11 +4569,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
45694569
*
45704570
*
45714571
* <pre>
4572-
* Required. The target Agent of the Binding.
4572+
* Optional. The source Agent of the Binding.
45734573
* </pre>
45744574
*
45754575
* <code>
4576-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4576+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
45774577
* </code>
45784578
*
45794579
* @return Whether the source field is set.
@@ -4586,11 +4586,11 @@ public boolean hasSource() {
45864586
*
45874587
*
45884588
* <pre>
4589-
* Required. The target Agent of the Binding.
4589+
* Optional. The source Agent of the Binding.
45904590
* </pre>
45914591
*
45924592
* <code>
4593-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4593+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
45944594
* </code>
45954595
*
45964596
* @return The source.
@@ -4609,11 +4609,11 @@ public com.google.cloud.agentregistry.v1.Binding.Source getSource() {
46094609
*
46104610
*
46114611
* <pre>
4612-
* Required. The target Agent of the Binding.
4612+
* Optional. The source Agent of the Binding.
46134613
* </pre>
46144614
*
46154615
* <code>
4616-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4616+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
46174617
* </code>
46184618
*/
46194619
public Builder setSource(com.google.cloud.agentregistry.v1.Binding.Source value) {
@@ -4634,11 +4634,11 @@ public Builder setSource(com.google.cloud.agentregistry.v1.Binding.Source value)
46344634
*
46354635
*
46364636
* <pre>
4637-
* Required. The target Agent of the Binding.
4637+
* Optional. The source Agent of the Binding.
46384638
* </pre>
46394639
*
46404640
* <code>
4641-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4641+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
46424642
* </code>
46434643
*/
46444644
public Builder setSource(
@@ -4657,11 +4657,11 @@ public Builder setSource(
46574657
*
46584658
*
46594659
* <pre>
4660-
* Required. The target Agent of the Binding.
4660+
* Optional. The source Agent of the Binding.
46614661
* </pre>
46624662
*
46634663
* <code>
4664-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4664+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
46654665
* </code>
46664666
*/
46674667
public Builder mergeSource(com.google.cloud.agentregistry.v1.Binding.Source value) {
@@ -4687,11 +4687,11 @@ public Builder mergeSource(com.google.cloud.agentregistry.v1.Binding.Source valu
46874687
*
46884688
*
46894689
* <pre>
4690-
* Required. The target Agent of the Binding.
4690+
* Optional. The source Agent of the Binding.
46914691
* </pre>
46924692
*
46934693
* <code>
4694-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4694+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
46954695
* </code>
46964696
*/
46974697
public Builder clearSource() {
@@ -4709,11 +4709,11 @@ public Builder clearSource() {
47094709
*
47104710
*
47114711
* <pre>
4712-
* Required. The target Agent of the Binding.
4712+
* Optional. The source Agent of the Binding.
47134713
* </pre>
47144714
*
47154715
* <code>
4716-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4716+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
47174717
* </code>
47184718
*/
47194719
public com.google.cloud.agentregistry.v1.Binding.Source.Builder getSourceBuilder() {
@@ -4726,11 +4726,11 @@ public com.google.cloud.agentregistry.v1.Binding.Source.Builder getSourceBuilder
47264726
*
47274727
*
47284728
* <pre>
4729-
* Required. The target Agent of the Binding.
4729+
* Optional. The source Agent of the Binding.
47304730
* </pre>
47314731
*
47324732
* <code>
4733-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4733+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
47344734
* </code>
47354735
*/
47364736
public com.google.cloud.agentregistry.v1.Binding.SourceOrBuilder getSourceOrBuilder() {
@@ -4747,11 +4747,11 @@ public com.google.cloud.agentregistry.v1.Binding.SourceOrBuilder getSourceOrBuil
47474747
*
47484748
*
47494749
* <pre>
4750-
* Required. The target Agent of the Binding.
4750+
* Optional. The source Agent of the Binding.
47514751
* </pre>
47524752
*
47534753
* <code>
4754-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
4754+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
47554755
* </code>
47564756
*/
47574757
private com.google.protobuf.SingleFieldBuilder<

java-agentregistry/proto-google-cloud-agentregistry-v1/src/main/java/com/google/cloud/agentregistry/v1/BindingOrBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ public interface BindingOrBuilder
159159
*
160160
*
161161
* <pre>
162-
* Required. The target Agent of the Binding.
162+
* Optional. The source Agent of the Binding.
163163
* </pre>
164164
*
165165
* <code>
166-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
166+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
167167
* </code>
168168
*
169169
* @return Whether the source field is set.
@@ -174,11 +174,11 @@ public interface BindingOrBuilder
174174
*
175175
*
176176
* <pre>
177-
* Required. The target Agent of the Binding.
177+
* Optional. The source Agent of the Binding.
178178
* </pre>
179179
*
180180
* <code>
181-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
181+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
182182
* </code>
183183
*
184184
* @return The source.
@@ -189,11 +189,11 @@ public interface BindingOrBuilder
189189
*
190190
*
191191
* <pre>
192-
* Required. The target Agent of the Binding.
192+
* Optional. The source Agent of the Binding.
193193
* </pre>
194194
*
195195
* <code>
196-
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = REQUIRED];
196+
* .google.cloud.agentregistry.v1.Binding.Source source = 4 [(.google.api.field_behavior) = OPTIONAL];
197197
* </code>
198198
*/
199199
com.google.cloud.agentregistry.v1.Binding.SourceOrBuilder getSourceOrBuilder();

java-agentregistry/proto-google-cloud-agentregistry-v1/src/main/java/com/google/cloud/agentregistry/v1/BindingProto.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
7777
+ "\014display_name\030\002 \001(\tB\003\340A\001\022\030\n"
7878
+ "\013description\030\003 \001(\tB\003\340A\001\022B\n"
7979
+ "\006source\030\004"
80-
+ " \001(\0132-.google.cloud.agentregistry.v1.Binding.SourceB\003\340A\002\022B\n"
80+
+ " \001(\0132-.google.cloud.agentregistry.v1.Binding.SourceB\003\340A\001\022B\n"
8181
+ "\006target\030\005 \001(\0132-.goog"
8282
+ "le.cloud.agentregistry.v1.Binding.TargetB\003\340A\002\0224\n"
8383
+ "\013create_time\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"

java-agentregistry/proto-google-cloud-agentregistry-v1/src/main/proto/google/cloud/agentregistry/v1/agentregistry_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ message CreateServiceRequest {
635635

636636
// Message for fetching available Bindings.
637637
message FetchAvailableBindingsRequest {
638-
// The reference of the source Agent.
638+
// Required. The reference of the source Agent Registry resource.
639639
oneof source {
640640
// The identifier of the source Agent.
641641
// Format:

java-agentregistry/proto-google-cloud-agentregistry-v1/src/main/proto/google/cloud/agentregistry/v1/binding.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ message Binding {
104104
// Can have a maximum length of `2048` characters.
105105
string description = 3 [(google.api.field_behavior) = OPTIONAL];
106106

107-
// Required. The target Agent of the Binding.
108-
Source source = 4 [(google.api.field_behavior) = REQUIRED];
107+
// Optional. The source Agent of the Binding.
108+
Source source = 4 [(google.api.field_behavior) = OPTIONAL];
109109

110110
// Required. The target Agent Registry Resource of the Binding.
111111
Target target = 5 [(google.api.field_behavior) = REQUIRED];

java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,21 @@
345345
* </td>
346346
* </tr>
347347
* <tr>
348+
* <td><p> Chat</td>
349+
* <td><p> Provides a chat interface for interacting with Google Analytics data through the API.
350+
* <p> This product uses AI and may display inaccurate info. Your chat activity may be used to improve the product and your use is subject to Google's [Terms](https://policies.google.com/terms), [AI Use Policy](https://policies.google.com/terms/generative-ai/use-policy), and [Privacy Policy](https://policies.google.com/privacy). [Learn more about Chat AI Privacy](https://support.google.com/helpguide/answer/14185196).</td>
351+
* <td>
352+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
353+
* <ul>
354+
* <li><p> chat(ChatRequest request)
355+
* </ul>
356+
* <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>
357+
* <ul>
358+
* <li><p> chatCallable()
359+
* </ul>
360+
* </td>
361+
* </tr>
362+
* <tr>
348363
* <td><p> RunReport</td>
349364
* <td><p> Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name.</td>
350365
* <td>
@@ -2627,6 +2642,81 @@ public final ListReportTasksPagedResponse listReportTasks(ListReportTasksRequest
26272642
return stub.listReportTasksCallable();
26282643
}
26292644

2645+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
2646+
/**
2647+
* Provides a chat interface for interacting with Google Analytics data through the API.
2648+
*
2649+
* <p>This product uses AI and may display inaccurate info. Your chat activity may be used to
2650+
* improve the product and your use is subject to Google's
2651+
* [Terms](https://policies.google.com/terms), [AI Use
2652+
* Policy](https://policies.google.com/terms/generative-ai/use-policy), and [Privacy
2653+
* Policy](https://policies.google.com/privacy). [Learn more about Chat AI
2654+
* Privacy](https://support.google.com/helpguide/answer/14185196).
2655+
*
2656+
* <p>Sample code:
2657+
*
2658+
* <pre>{@code
2659+
* // This snippet has been automatically generated and should be regarded as a code template only.
2660+
* // It will require modifications to work:
2661+
* // - It may require correct/in-range values for request initialization.
2662+
* // - It may require specifying regional endpoints when creating the service client as shown in
2663+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2664+
* try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
2665+
* ChatRequest request =
2666+
* ChatRequest.newBuilder()
2667+
* .setProperty(PropertyName.of("[PROPERTY]").toString())
2668+
* .setUserQuery("userQuery326624189")
2669+
* .setSessionId("sessionId607796817")
2670+
* .setReturnPropertyQuota(true)
2671+
* .build();
2672+
* ChatResponse response = alphaAnalyticsDataClient.chat(request);
2673+
* }
2674+
* }</pre>
2675+
*
2676+
* @param request The request object containing all of the parameters for the API call.
2677+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
2678+
*/
2679+
public final ChatResponse chat(ChatRequest request) {
2680+
return chatCallable().call(request);
2681+
}
2682+
2683+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
2684+
/**
2685+
* Provides a chat interface for interacting with Google Analytics data through the API.
2686+
*
2687+
* <p>This product uses AI and may display inaccurate info. Your chat activity may be used to
2688+
* improve the product and your use is subject to Google's
2689+
* [Terms](https://policies.google.com/terms), [AI Use
2690+
* Policy](https://policies.google.com/terms/generative-ai/use-policy), and [Privacy
2691+
* Policy](https://policies.google.com/privacy). [Learn more about Chat AI
2692+
* Privacy](https://support.google.com/helpguide/answer/14185196).
2693+
*
2694+
* <p>Sample code:
2695+
*
2696+
* <pre>{@code
2697+
* // This snippet has been automatically generated and should be regarded as a code template only.
2698+
* // It will require modifications to work:
2699+
* // - It may require correct/in-range values for request initialization.
2700+
* // - It may require specifying regional endpoints when creating the service client as shown in
2701+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2702+
* try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
2703+
* ChatRequest request =
2704+
* ChatRequest.newBuilder()
2705+
* .setProperty(PropertyName.of("[PROPERTY]").toString())
2706+
* .setUserQuery("userQuery326624189")
2707+
* .setSessionId("sessionId607796817")
2708+
* .setReturnPropertyQuota(true)
2709+
* .build();
2710+
* ApiFuture<ChatResponse> future = alphaAnalyticsDataClient.chatCallable().futureCall(request);
2711+
* // Do something.
2712+
* ChatResponse response = future.get();
2713+
* }
2714+
* }</pre>
2715+
*/
2716+
public final UnaryCallable<ChatRequest, ChatResponse> chatCallable() {
2717+
return stub.chatCallable();
2718+
}
2719+
26302720
// AUTO-GENERATED DOCUMENTATION AND METHOD.
26312721
/**
26322722
* Returns a customized report of your Google Analytics event data. Reports contain statistics

java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataSettings.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ public UnaryCallSettings<GetReportTaskRequest, ReportTask> getReportTaskSettings
217217
return ((AlphaAnalyticsDataStubSettings) getStubSettings()).listReportTasksSettings();
218218
}
219219

220+
/** Returns the object with the settings used for calls to chat. */
221+
public UnaryCallSettings<ChatRequest, ChatResponse> chatSettings() {
222+
return ((AlphaAnalyticsDataStubSettings) getStubSettings()).chatSettings();
223+
}
224+
220225
/** Returns the object with the settings used for calls to runReport. */
221226
public UnaryCallSettings<RunReportRequest, RunReportResponse> runReportSettings() {
222227
return ((AlphaAnalyticsDataStubSettings) getStubSettings()).runReportSettings();
@@ -434,6 +439,11 @@ public UnaryCallSettings.Builder<GetReportTaskRequest, ReportTask> getReportTask
434439
return getStubSettingsBuilder().listReportTasksSettings();
435440
}
436441

442+
/** Returns the builder for the settings used for calls to chat. */
443+
public UnaryCallSettings.Builder<ChatRequest, ChatResponse> chatSettings() {
444+
return getStubSettingsBuilder().chatSettings();
445+
}
446+
437447
/** Returns the builder for the settings used for calls to runReport. */
438448
public UnaryCallSettings.Builder<RunReportRequest, RunReportResponse> runReportSettings() {
439449
return getStubSettingsBuilder().runReportSettings();

java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/gapic_metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"grpc": {
1111
"libraryClient": "AlphaAnalyticsDataClient",
1212
"rpcs": {
13+
"Chat": {
14+
"methods": ["chat", "chatCallable"]
15+
},
1316
"CreateAudienceList": {
1417
"methods": ["createAudienceListAsync", "createAudienceListAsync", "createAudienceListAsync", "createAudienceListOperationCallable", "createAudienceListCallable"]
1518
},

java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStub.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
import com.google.analytics.data.v1alpha.AudienceList;
2424
import com.google.analytics.data.v1alpha.AudienceListMetadata;
25+
import com.google.analytics.data.v1alpha.ChatRequest;
26+
import com.google.analytics.data.v1alpha.ChatResponse;
2527
import com.google.analytics.data.v1alpha.CreateAudienceListRequest;
2628
import com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
2729
import com.google.analytics.data.v1alpha.CreateReportTaskRequest;
@@ -166,6 +168,10 @@ public UnaryCallable<ListReportTasksRequest, ListReportTasksResponse> listReport
166168
throw new UnsupportedOperationException("Not implemented: listReportTasksCallable()");
167169
}
168170

171+
public UnaryCallable<ChatRequest, ChatResponse> chatCallable() {
172+
throw new UnsupportedOperationException("Not implemented: chatCallable()");
173+
}
174+
169175
public UnaryCallable<RunReportRequest, RunReportResponse> runReportCallable() {
170176
throw new UnsupportedOperationException("Not implemented: runReportCallable()");
171177
}

0 commit comments

Comments
 (0)